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
96a1cdf08f
guests/redhat: Add tests for network_scripts_dir
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
8c28361f16
guests/pld: Add tests for network scripts dir
2016-06-06 11:58:37 -04:00
Seth Vargo
cf989d1534
guests/pld: Add tests for flavor
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
Seth Vargo
5e5a91956c
guests/photon: Use require_relative and double quotes
2016-06-06 11:58:36 -04:00
Seth Vargo
0002c003b3
guests/photon: Improve docker tests
2016-06-06 11:58:36 -04:00
Seth Vargo
9040ecafeb
guests/photon: Configure networks in one command
...
This also removes code that was completely unused during network
configuration.
2016-06-06 11:58:36 -04:00
Seth Vargo
2e943428a9
guests/photon: Change host name in one command
2016-06-06 11:58:35 -04:00
Seth Vargo
a9fb66b3e3
guests/omnios: Use require_relative
2016-06-06 11:58:35 -04:00
Seth Vargo
9812102196
guests/omnios: Do not require vagrant in guest
2016-06-06 11:58:35 -04:00
Seth Vargo
d7bc7c2267
guests/omnios: Add rsync_install functionality
2016-06-06 11:58:34 -04:00
Seth Vargo
c441732c59
guests/omnios: Update NFS folder mounting in one command
2016-06-06 11:58:34 -04:00
Seth Vargo
95972c1527
guests/omnios: Set hostname in one command
2016-06-06 11:58:34 -04:00
Seth Vargo
90b62a0943
guests/mint: Use require_relative in plugin
2016-06-06 11:58:34 -04:00
Seth Vargo
9976b2a515
guests/mint: Do not require vagrant in guest
2016-06-06 11:58:33 -04:00
Seth Vargo
337e3d79d8
guests/linux: Use require_relative in plugin
2016-06-06 11:58:33 -04:00
Seth Vargo
b643031b05
guests/linux: Do not require vagrant in guest
2016-06-06 11:58:33 -04:00
Seth Vargo
6b1749a6fb
guests/linux: Add tests for port
2016-06-06 11:58:32 -04:00
Seth Vargo
3e2374ad38
guests/linux: Add tests for nfs_client_installed
2016-06-06 11:58:32 -04:00
Seth Vargo
837713c2d1
guests/linux: Mount NFS in one command
2016-06-06 11:58:32 -04:00
Seth Vargo
e2b7e28082
guests/linux: Update insert_public_key cap to be one command
2016-06-06 11:58:32 -04:00
Seth Vargo
0bd6d73a7f
guests/linux: Add tests for halt capability
2016-06-06 11:58:31 -04:00
Seth Vargo
d4159e4208
guests/linux: Add tests for choosing addressable IP
2016-06-06 11:58:31 -04:00
Seth Vargo
d07cb9d75e
guests/freebsd: Use require_relative
2016-06-06 11:58:31 -04:00
Seth Vargo
cf74347980
guests/freebsd: Install rsync in one command
2016-06-06 11:58:30 -04:00
Seth Vargo
de64bd03de
guests/freebsd: Mount NFS folders in a single command
2016-06-06 11:58:30 -04:00
Seth Vargo
bf51f6a71d
guests/freebsd: Insert public key in one command
2016-06-06 11:58:30 -04:00
Seth Vargo
7806223020
guests/freebsd: Add tests to halt capability
2016-06-06 11:58:30 -04:00
Seth Vargo
2b08151977
guests/freebsd: Configure predictable networks in a single command
...
This commit refactors the freebsd networking to:
1. Use predictable network naming
2. Properly handle DHCP vs static networks on up and reload [GH-5852]
3. Perform all networking configuration in a single command to prevent
partial configuration.
2016-06-06 11:58:29 -04:00
Seth Vargo
a444110993
guests/freebsd: Configure hostname in a single command
...
This updates freebsd to set the hostname in a single command and prepend
the hostname to the /etc/hosts file.
2016-06-06 11:58:29 -04:00
Seth Vargo
8c095ef172
guests/fedora: Configure hostname in one command
2016-06-06 11:58:29 -04:00
Seth Vargo
d9b8352a58
guests/debian: Use predictable naming for network configuration
2016-06-06 11:58:28 -04:00
Seth Vargo
dbb2d99278
guests/debian: Update guest capabilities
...
This updates the guest capabilities to run in as few communicator
commands as possible. Additionally, it fixes a number of issues around
hostname and idempotency.
This patch was tested against:
- puphpet/debian75-x64
- debian/jessie64
- debian/wheezy64
with custom networking, custom hostname, and rsync shared folders.
2016-06-06 11:58:28 -04:00
Seth Vargo
a3d45bb7e0
guests/darwin: Use require_relative in plugin defn
2016-06-06 11:58:28 -04:00
Seth Vargo
428d6b56e8
guests/darwin: Require vagrant
2016-06-06 11:58:28 -04:00
Seth Vargo
499e4afba8
guests/darwin: Upload public key instead of trying to shellescape
2016-06-06 11:58:27 -04:00
Seth Vargo
dc883aa46f
guests/darwin: Add tests for get_addressable_ip_addr
2016-06-06 11:58:27 -04:00