Chris Roberts
6cdab917de
guests/dragonflybsd: add detection for DragonFly BSD
2016-08-10 09:14:08 -07:00
Chris Roberts
571659a5d1
guests/openbsd: include -h option on shutdown
...
For OpenBSD versions prior to 5.7 the `-h` option _must_ be provided
to the `shutdown` command when `-p` is used. Later versions no longer
require the `-h` option but still allow it for compatibility.
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin/shutdown/shutdown.8?rev=1.40&content-type=text/x-cvsweb-markup
http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin/shutdown/shutdown.c?rev=1.40&content-type=text/x-cvsweb-markup
2016-08-10 09:14:08 -07:00
Chris Roberts
666d5e6391
guests/bsd: remove darwin matching
2016-08-10 09:10:56 -07:00
Jose Luis Duran
820607bbf6
Fix `authorized_keys` permissions for BSDs
...
This is an extension of a6760dd8e7
,
applied to BSD guests.
Related to #7610
2016-07-25 18:25:58 -03:00
Seth Vargo
00fa49191d
guests/ubuntu: Revert detection
...
- Semi-reverts GH-7524
- Fixes GH-7625
2016-07-23 15:02:11 -04:00
hendrenj
855643e9a5
s/bsd/linux/
2016-07-19 11:45:03 -06:00
hendrenj
a6760dd8e7
fixes #7610
2016-07-19 11:22:35 -06:00
Colin Shea
b31b240c8c
Support installing synced folder clients on arch
2016-07-18 22:33:04 -04:00
Seth Vargo
30692fc857
Merge pull request #7524 from nishidayuya/fix_ubuntu_guest_detection
...
A more reliable way to detect Ubuntu
2016-07-18 22:01:11 -04:00
Seth Vargo
7868421a21
guests/openbsd: Fix hostname setting
2016-07-18 21:13:00 -04:00
Seth Vargo
1e0d7bb652
guests/ubuntu: Use debians change_host_name functionality
2016-07-18 21:13:00 -04:00
Seth Vargo
7f1947fec2
folders/rsync: Shellescape guest paths
...
This allows users to have spaces or other special characters in
destination paths on the guest.
2016-07-18 21:13:00 -04:00
Seth Vargo
1c0d0b8b9d
guests/linux: Style update for choose_addressable_ip
2016-07-18 21:12:59 -04:00
Seth Vargo
e2becda89d
guests/gentoo: Use shared cap for listing network interfaces
2016-07-18 21:12:59 -04:00
Seth Vargo
8fe47b79c2
guests/gentoo: Exit on hostname error
2016-07-18 21:12:59 -04:00
Seth Vargo
72dcf610f7
guests/freebsd: Escape guest path in rsync folders
2016-07-18 21:12:59 -04:00
Seth Vargo
3b2ffae400
guests/bsd: Print a very descriptive error when mounting vbox folders
...
BSD-based guests do not support VirtualBox shared folders. This is a
common source of confusion in Vagrant. This new error clearly explains
that this is not a bug in Vagrant and provides instructions on how to
disable them.
2016-07-18 21:12:58 -04:00
Seth Vargo
c4a0a86ee0
guests/debian: Do not restart networking
...
Restarting networking causes Vagrant to disconnect and fail.
2016-07-18 21:12:58 -04:00
Seth Vargo
d1a071d403
guests/darwin: Shellescape guest path for rsync
2016-07-18 21:12:58 -04:00
Seth Vargo
619c7a5b26
guests/darwin: Exit on error setting hostname
2016-07-18 21:12:58 -04:00
Seth Vargo
7e88266999
guests/linux: Properly escape and retry vbox shared folder mounting
2016-07-18 21:12:57 -04:00
Seth Vargo
4aaa600bd6
guests/linux: Centralize public_key logic
2016-07-18 21:12:57 -04:00
Seth Vargo
cb2f3a697f
guests/debian: Do not check if rsync is installed before installing
...
This is already done via the rsync_installed capability.
2016-07-18 21:12:57 -04:00
Seth Vargo
76bab1932e
guests/debian: Use set -e when configuring networks
2016-07-18 21:12:57 -04:00
Seth Vargo
7a7256b3ab
guests/debian: Exit on error when configuring hostname
2016-07-18 21:12:56 -04:00
Seth Vargo
9134172ce6
guests/debian: Move NFS into same file
2016-07-18 21:12:56 -04:00
Seth Vargo
0af02fc78c
guests/atomic: Ensure error exit when setting hostname
2016-07-18 21:12:56 -04:00
Seth Vargo
ccc40eb19d
guests/arch: compute netmask
...
Arch expects /24 for netmask, but users usually specify as a netmask
block like 255.255.255.0. This automatically converts it.
2016-07-18 21:12:56 -04:00
Seth Vargo
627091de35
guests/linux: reorg
2016-07-18 21:12:55 -04:00
Seth Vargo
9ea13105c0
guests/arch: Ensure exit on configure networks fail
2016-07-18 21:12:55 -04:00
Seth Vargo
e69211ab22
guests/arch: Add NFS capabilities
2016-07-18 21:12:55 -04:00
Seth Vargo
cf9a8e3c0a
guests/arch: Ensure exit on error setting hostname
2016-07-18 21:12:55 -04:00
Seth Vargo
084d62b5a6
guests/fedora: Move as a child of redhat
...
Fedora should have been a child of redhat for awhile now...
2016-07-18 21:12:54 -04:00
Seth Vargo
336cb3319c
guests/rhel: Use FQDN for hostname
...
Refs: https://lukas.zapletalovi.com/2011/12/setting-hostname-properly-in-fedora-and.html
2016-07-18 21:12:54 -04:00
Seth Vargo
cf91bcf029
guests: Always search for FQDN without sudo
2016-07-18 21:12:54 -04:00
Seth Vargo
8f3b6511f2
guests/linux: Add shared cap for listing network interfaces
2016-07-18 21:12:54 -04:00
Seth Vargo
b621cc44fb
guests/rhel: Switch to predicable network interface names
2016-07-18 21:12:53 -04:00
Seth Vargo
4664930e06
guests/ubuntu: Use short hostname
...
Fixes GH-7488
2016-07-18 21:12:53 -04:00
Seth Vargo
caafb936f0
guests/gentoo: Use predictable network interface names
2016-07-18 21:12:53 -04:00
Seth Vargo
ea9b28f9b6
guests/freebsd: Check FQDN for hostname
2016-07-18 21:12:52 -04:00
Seth Vargo
57774601d9
guests/fedora: Fix indentation on configure hostname
2016-07-18 21:12:52 -04:00
Seth Vargo
87d2b7fec8
guests/debian: Set hostname to short value
...
Refs GH-7488
2016-07-18 21:12:52 -04:00
Seth Vargo
5a372a9942
guests/bsd: Do not use -h to shutdown
2016-07-18 21:12:52 -04:00
Seth Vargo
bbcddb6499
guests/atomic: Search for FQDN hostname
2016-07-18 21:12:51 -04:00
Seth Vargo
10b12ce393
guests/arch: Search for FQDN hostname
2016-07-18 21:12:51 -04:00
Seth Vargo
3eebff5bf3
guests/funtoo: Behave like a gentoo guest
2016-07-18 21:12:51 -04:00
Yuya.Nishida
05782f1d0e
A more reliable way to detect Ubuntu
...
lsb_release command is included in lsb-release package. Sometimes this is
not installed; ex: Docker official Ubuntu image.
/etc/os-release is included in base-files package,
so this is more reliable than lsb_release.
2016-06-28 01:57:35 +09:00
Seth Vargo
bfc951ee20
Merge pull request #7492 from mitchellh/sethvargo/linux_nfs
...
guests/linux: Ensure NFS retries when mounting
2016-06-19 14:39:39 -04:00
Seth Vargo
851eff1288
guests/linux: Ensure NFS retries when mounting
...
Fixes GH-7443
2016-06-19 14:34:33 -04:00
Seth Vargo
177b7784dd
guests/darwin: Allow ipv6 static networks
2016-06-19 12:01:52 -04:00