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
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
Seth Vargo
07e6d0e707
guests/bsd: Centralize logic for halting guests
2016-06-18 15:06:20 -04:00
Satoshi Matsumoto
de9abc8f72
guests/redhat: fix network configuration in CentOS 5
...
ip command is not on PATH by default in CentOS 5 so call it with the full path.
2016-06-18 14:14:25 -04:00
Seth Vargo
079acb42cd
guests/bsd: Centralize logic for public key management
2016-06-17 21:36:28 -04:00
Seth Vargo
6284a9ac50
guests/bsd: Move NFS mounting logic into shared
...
A number of the BSD guests used very old mounting options or just
ignored some parameters entirely. This fixes that.
- Closes #7474
- Fixes #7466
2016-06-17 21:04:23 -04:00
Seth Vargo
0c268f7b3f
guests/bsd: Add shared BSD guest for common behavior
2016-06-17 20:16:36 -04:00
Seth Vargo
b29864f450
Use symbols for defining guest capabilities
2016-06-17 19:55:04 -04:00
Seth Vargo
add40534de
Use strip instead of chomp
2016-06-16 15:32:11 -04:00
Seth Vargo
23b34bb6c0
Merge pull request #7456 from jonnywilliamson/patch-1
...
Append newline to each key added
2016-06-16 21:28:33 +02:00
Jonathan
d1be7ae84a
Better method for string concatenation
...
Never developed in Ruby before. I have only just discovered that apparently `<<` is a better method of string concatenation.
2016-06-16 11:59:11 +01:00
Jonathan
2720ed3d2c
Apply new line before shell to system
...
Having looked at the code again this seems like a more straightforward way of fixing the bug.
2016-06-16 11:47:47 +01:00
James Wilson
358ad8f18f
Use ip instead of deprecated ifconfig for Red Hat/CentOS guests
2016-06-16 10:06:58 +01:00
Jonathan
f7f46ba47d
Append newline to each key added
...
The change to this file 10 days ago removed a newline character at the end of each key added to it. This mean that when another key was added, it continued on the same line as the one before and thus wasn't being detected when an ssh connection came in with a key file.
With regards to https://github.com/mitchellh/vagrant/issues/7455 this is an (ugly) fix.
I'm sure someone knows a better command to concat a file and a string and append it to the `authorized_keys` file. But this does fix the problem.
2016-06-15 23:56:22 +01:00
Eugene Zamriy
eaa4e11c62
Add CloudLinux 7 to RHEL 7 flavors.
2016-06-12 16:51:55 +03:00
Seth Vargo
c8ceb06f6d
guests/amazon: Initial addition
...
Fixes GH-7254
2016-06-06 18:22:34 -04:00
Seth Vargo
61d2a50a54
guests/linux: Fix compatibility with dash shell
2016-06-06 12:59:51 -04:00
Seth Vargo
07155ee62f
guests/ubuntu: Use require_relative in plugin
2016-06-06 11:58:44 -04:00
Seth Vargo
fe9c506c4d
guests/ubuntu: Remove require vagrant from guest
2016-06-06 11:58:44 -04:00
Seth Vargo
155aa8cf1d
guests/ubuntu: Change host name in one command
...
This also removes the dependency on the debian hostname setting.
2016-06-06 11:58:44 -04:00
Seth Vargo
dd2e76472b
guests/trisquel: Use require_relative in plugin
2016-06-06 11:58:43 -04:00
Seth Vargo
bbf245b46e
guests/trisquel: Do not require vagrant in guest
2016-06-06 11:58:43 -04:00
Seth Vargo
d2e937585d
guests/suse: Use require_relative in plugin
2016-06-06 11:58:43 -04:00
Seth Vargo
f531480673
guests/suse: Do not require vagrant in guest
2016-06-06 11:58:43 -04:00
Seth Vargo
c9f21a1852
guests/suse: Configure rsync in one command
2016-06-06 11:58:42 -04:00
Seth Vargo
c259032f80
guests/suse: Install NFS client in one command
2016-06-06 11:58:42 -04:00
Seth Vargo
94af771b71
guests/suse: Configure networks in one command
...
This also uses the new predictable network naming.
2016-06-06 11:58:41 -04:00
Seth Vargo
b091f4fe82
guests/suse: Change host name in one command
2016-06-06 11:58:41 -04:00
Seth Vargo
fb90c67a49
guests/smartos: Remove deprecated options
2016-06-06 11:58:41 -04:00
Seth Vargo
fe4fa9dfce
guests/slackware: Use require_relative
2016-06-06 11:58:41 -04:00
Seth Vargo
ece972406d
guests/slackware: Do not require vagrant
2016-06-06 11:58:40 -04:00
Seth Vargo
0bdf6f5ad4
guests/slackware: Configure networks in one command
...
This also switches to using new predictable naming for networks.
2016-06-06 11:58:40 -04:00
Seth Vargo
a7bbb484ad
guests/slackware: Configure hostname in one command
2016-06-06 11:58:40 -04:00
Seth Vargo
c12b413c2e
guests/redhat: Use require_relative in redhat plugin
2016-06-06 11:58:39 -04:00
Seth Vargo
aaedc48425
guests/redhat: Do not require vagrant in guest
2016-06-06 11:58:39 -04:00
Seth Vargo
60d2f4e1b4
guests/redhat: Install RedHat in one command
2016-06-06 11:58:39 -04:00
Seth Vargo
3098c13869
guests/redhat: Configure NFS in one command
...
Previously this was very complicated trying to flip between Ruby and
bash. This commit uses a single bash command that decides between yum
and dnf in the script itself.
2016-06-06 11:58:38 -04:00
Seth Vargo
e09d342284
guests/redhat: Add tests for flavor
2016-06-06 11:58:38 -04:00
Seth Vargo
cc26c46066
guests/redhat: Configure networks in one command
...
This commit also switches to using predictable network names.
2016-06-06 11:58:38 -04:00
Seth Vargo
b91c167b19
guests/redhat: Change host name in one command
2016-06-06 11:58:38 -04:00
Seth Vargo
665534e620
guests/pld: Use require_relative
2016-06-06 11:58:37 -04:00
Seth Vargo
15cac4fd21
guests/pld: Do not require vagrant in guest
2016-06-06 11:58:37 -04:00
Seth Vargo
9702abb5c4
guests/pld: Change host name in one command
2016-06-06 11:58:36 -04:00