sophia
e4e72522b2
Make slackware guest respect 'hostname' network config option
2020-07-20 15:19:50 -05:00
sophia
326f0a4858
Make atomic-host guest respect 'hostname' network config option
2020-07-20 15:19:50 -05:00
sophia
71ea0e6f2a
Make arch guest respect 'hostname' network config option
2020-07-20 15:19:50 -05:00
sophia
18737f29fd
Update change host name cap for debian
2020-07-20 15:19:50 -05:00
sophia
d90ae50b60
Update change host name cap for ALT os
2020-07-20 15:19:50 -05:00
Brian Cain
0198c17c56
Merge pull request #11400 from rmunn/feature/arch-network-with-systemd-networkd
...
Use systemd-networkd on Archlinux guests
2020-07-16 14:34:54 -07:00
Daniel Poggenpohl
0524649b22
#11758
...
- removed the solaris11 shell_expand_guest_path_test unit test again
2020-07-11 01:53:16 +02:00
Daniel Poggenpohl
cdd04d3252
#11758
...
- added a ~ path test to the linux tests
2020-07-11 01:48:23 +02:00
Daniel Poggenpohl
480b8997d8
#11758
...
- fixed failing test (now done like linux cap test)
2020-07-10 23:38:29 +02:00
Daniel Poggenpohl
c4b16b509a
#11758
...
- added shell_expand_guest_path capability for solaris11
- added tests for solaris11 shell_expand_guest_path capability
2020-07-10 23:19:34 +02:00
Sophia Castellarin
d9bbdab428
Merge pull request #11567 from soapy1/suse-hosts-mod
...
Set hostname according to hostname flag and ip for suse
2020-06-15 14:29:43 -05:00
Robin Munn
453e957158
Fix typo
2020-06-01 09:04:22 +07:00
sophia
1dc761a6c4
Refactor out persisting a mount to it's own guest cap
2020-05-29 15:26:48 -04:00
sophia
d7bd29384e
Remove fstab if it is unable to successfully mount
2020-05-29 15:26:48 -04:00
sophia
b511d23ae1
Refresh fstab when folders synced
2020-05-29 15:26:48 -04:00
sophia
298027b70e
Automatically mount virtual box shared folder when machine reboots
...
This is done by adding the mount to fstab
ref: https://askubuntu.com/questions/252853/how-to-mount-a-virtualbox-shared-folder-at-startup
Note, add `nofail` to mount options so as to not stop machine from booting if device disappears
2020-05-29 15:26:48 -04:00
sophia
85fd3b79fe
Refactor editin guest /etc/hosts into a util
2020-05-29 15:08:39 -04:00
sophia
a8c9d6c3d3
Fix tests
2020-05-29 10:27:42 -04:00
sophia
f5d5baec40
Set hostname according to hostname flag and ip for suse
2020-05-15 13:30:23 -04:00
Chris Roberts
720c3012ce
Use #systemd_networkd? guest check for renderer
2020-04-22 15:07:14 -07:00
Sophia Castellarin
bc4368f739
Merge pull request #11503 from soapy1/smb-symlinks
...
Smb symlinks
2020-04-20 12:35:38 -04:00
sophia
30ade2991b
Emit warning message if using mfsymlink
2020-04-17 09:56:52 -04:00
Sophia Castellarin
5dc96f0886
Merge pull request #11498 from soapy1/ubuntu-w-networkmanager
...
Choose netplan renderer based on network config and available tools
2020-04-17 09:50:31 -04:00
Sophia Castellarin
ee87596a77
Merge pull request #11462 from soapy1/docker-provision-centos8
...
Docker provision centos8
2020-04-13 09:42:37 -04:00
sophia
538ee948ee
Choose netplan renderer based on network config and available tools
2020-04-10 17:17:04 -04:00
sophia
307291b7f8
Add mfsymlinks as a default option for mounting smb folders
2020-04-08 14:52:37 -04:00
sophia
5104d075bd
Add CentOS guest plugin
2020-04-06 13:48:39 -04:00
Sophia Castellarin
cf9a690bc9
Merge pull request #11482 from soapy1/systemd-cap-halt
...
Use systemd to halt system if available
2020-04-06 10:18:53 -04:00
sophia
d500daea03
Support centos flavors of redhat
2020-04-03 14:27:44 -04:00
sophia
338f13a2ae
Use systemd to halt system if available
2020-04-01 15:43:10 -04:00
sophia
777f680837
Use systemd to rebot system if available
2020-04-01 13:57:07 -04:00
sophia
987ab17f4d
Add suport for SMB on redhat
2020-03-25 12:27:04 -04:00
sophia
9d53e8ccab
Recognize rhel8 flavor
2020-03-25 10:36:02 -04:00
Jeff Bonhag
6efdcd2068
Merge pull request #11430 from chrisroberts/winssh-hacks
...
Fix issues with Windows SSH provisioner (continued...)
2020-03-11 10:39:44 -04:00
Chris Roberts
7d44fef00e
Merge pull request #11428 from chrisroberts/fix/windows-reboot
...
Catch any StandardError exception while waiting for Windows reboot
2020-03-09 16:48:27 -07:00
Chris Roberts
dbec9ae68c
Clean specs on public key removal
2020-03-09 15:45:04 -07:00
Chris Roberts
d595c03732
Fix test coverage on windows public key cap
2020-03-09 15:07:17 -07:00
Chris Roberts
7c2083d5da
Update how delayed actions are stored to avoid accessing uninitialized value
2020-03-05 13:25:57 -08:00
Chris Roberts
ec9d23a531
Update public key cap to use powershell
2020-03-04 15:08:03 -08:00
Jeff Bonhag
e829902e0a
Add missing method to test double
2020-03-04 15:08:03 -08:00
Chris Roberts
6f707c829d
Catch any StandardError exception while waiting for Windows reboot
...
This prevents any unexpected connection related error from breaking
the wait loop while windows reboots. If an underlying problem unrelated
to the guest is causing exceptions, the exception will still be raised
to the user, simply after the loop has exceeded the defined maximum
wait time.
Fixes #11238
2020-03-03 17:02:04 -08:00
Chris Roberts
3686aed72d
Add test coverage for dynamic action hook support
2020-03-03 16:23:31 -08:00
Robin Munn
25b13b2346
Update tests to expect new Arch network config
2020-02-15 20:25:38 +07:00
Jeff Bonhag
08c3c741fe
Fix #11396 : Use sudo to detect if systemd in use ( #11398 )
...
This change allows the vagrant user to see the systemd process in the
event that the hidepid mount option is enabled.
Also adds sudo: true to other tests that use `systemd?`
2020-02-14 12:10:59 -05:00
Chris Roberts
25659a6f6b
Support properly setting up synced folders on Catalina
...
Since the root file system is marked as read-only, attempting to
link the shared directory to `/vagrant` will fail. If the guest
path is on the root file system and APFS is used, create the
link as a firmlink instead.
2019-12-18 13:11:30 -08:00
Jeff Bonhag
2fa44f5b8f
Fixes #11218 : Update apk cache when installing rsync ( #11220 )
...
This ensures that rsync can be installed on an Alpine Linux machine where the
apk cache may not be current.
Display a warning if the vagrant-alpine plugin is installed, since Alpine guest
support has been merged into Vagrant core.
2019-12-17 12:34:53 -05:00
Brian Cain
2a2e2d5414
Update nfs client test for redhat
2019-11-21 13:44:35 -08:00
Jeff Bonhag
307123c1f2
Fixes #10753 : Add reboot support for Linux guests ( #11194 )
...
This commit adds support for setting `reboot: true` while using the
shell provisioner with Linux guests.
2019-11-15 14:46:36 -05:00
Christoph Moench-Tegeder
6f6e58f4ae
explicitly test the hostname we'll be setting
...
getent queries the system resolver for the hostname - but it's not
the resolver we're interested in. In fact, the hostname-to-be-set
may already exist in DNS (becuase DNS really is a nifty thing and
can do a lot of things which are not that possible with /etc/hosts
alone), in which case getent will "not fail" and vagrant will believe
the hostname had already been set.
Instead, query hostnamectl for the "static" hostname - that's the
one we will be setting, so we're ok IFF hostnamectl returns exactly
what we would be setting.
2019-11-01 15:41:04 +01:00
Brian Cain
00e0dc9279
Merge pull request #11076 from dcermak/suse_nfs_support
...
Update nfs & service daemon names for suse based hosts
2019-10-08 13:41:22 -07:00