sophia
82dde55e64
Get folder mount name
2021-04-06 16:25:08 -05:00
sophia
fad1819cb0
Detect fedora using os-releases id
...
OS releases was added to fedora in Feb 2012
c6a541628f
and released into both F17 and F18: https://bugzilla.redhat.com/show_bug.cgi?id=733117
Those have both been EOL'ed since 2014
2021-03-11 11:50:43 -06:00
Sophia Castellarin
6f1ab0ed5e
Merge pull request #12181 from soapy1/alpine-configure-networks
...
Check if interface exists before shutting it down
2021-02-23 13:21:19 -06:00
sophia
b30a87ce6c
Extract os friendly mount name for vbox shared folders
2021-02-10 15:25:56 -06:00
sophia
b24d4252c5
Check if interface exists before shutting it down
2021-02-10 10:44:36 -06:00
Sophia Castellarin
a8363db300
Merge pull request #11791 from jbonhag/e/guest-openwrt
...
Guest support for OpenWrt
2020-12-22 15:05:48 -06:00
sophia
fffe6ea4a5
Add darwin version cap
2020-11-17 19:21:21 -06:00
sophia
8eea6a2301
Mount vmware synced folders for big sur guests
2020-11-17 19:21:21 -06:00
Chris Roberts
4751353a5f
Fetch reboot env var at run time and keep constant values constant
...
Keep the default duration as a constant and fetch the custom environment
variable at run time with a fallback to the default. Set the sleep duration
into a constant and add tests covering the expected behaviors when the
default duration is in use as well as the override value. Also match the
environment variable up with the constant just for consistency.
2020-11-03 15:11:10 -08:00
Arthur Maltson
a2f5d615a0
✨ Make max reboot retry duration configurable
...
Previously the maximum amount of time Vagrant would poll for whether a
machine has successfully reboot was hard coded to 120 seconds. This
change introduces the VAGRANT_MAX_REBOOT_RETRY_TIMEOUT environment
variable to allow this attribute to be configurable.
Add RSpec tests of the maximum retry logic. Since the maximum retries
are configured as a constant, we'd need to reload the class and that's
fairly ugly to do in RSpec.
Fixes #11695
2020-10-31 18:00:01 -04:00
Sophia Castellarin
8ad772629b
Merge pull request #11923 from soapy1/arch-smb
...
Install smbclient when setting up arch smb
2020-10-28 15:40:45 -05:00
sophia
12d5b56f14
Fix indentation
2020-10-28 12:35:36 -05:00
sophia
0979cfcf4c
Don't use hostnamectl if not on system
2020-10-26 17:06:48 -05:00
sophia
0c283e5b50
Install smbclient when setting up arch smb
...
Leaving out smbclient from the install will cause a cyclical
dependency error.
```
Was getting error
Stderr from the command:
warning: dependency cycle detected:
warning: smbclient will be installed before its cifs-utils dependency
error: failed to commit transaction (conflicting files)
```
2020-09-23 11:59:42 -05:00
sophia
00e4810197
Add mount_name synced folder capability to get name of mount
2020-09-22 16:57:43 -05:00
sophia
3afd646a27
Fix osx guest smb mount
2020-09-22 16:56:11 -05:00
sophia
11aeafea5c
Add tests for smb mount options driven through synced folder capabilities
2020-09-22 16:56:11 -05:00
sophia
583b3f5332
Persist smb mounts
2020-09-22 16:53:10 -05:00
sophia
7e698b757d
Mount smb folders using mount options from cap
2020-09-22 16:53:10 -05:00
Sophia Castellarin
0d0935fce7
Merge pull request #11909 from soapy1/fstab-mod
...
Create fstab if does not exist
2020-09-22 14:29:09 -05:00
sophia
b6aebeacae
Use '-r' xargs argument
...
This will pervent running sed if there are no results
passed to xargs
2020-09-16 10:36:55 -05:00
sophia
0831df2e7f
Create fstab if does not exist
2020-09-15 15:38:32 -05:00
Sophia Castellarin
bc949da980
Merge pull request #11877 from soapy1/rhel-check-network-files
...
Check for existence of network files before trying to update them
2020-09-15 11:13:06 -05:00
Sophia Castellarin
3a407c9dfa
Merge pull request #11885 from soapy1/debian-host-name-order
...
Set hostname in /etc/hosts as first step to changing hostname
2020-09-15 11:11:12 -05:00
sophia
7370f24318
Check for existence of network files before trying to update them
2020-09-14 11:10:52 -05:00
sophia
41fa71081f
Add check for /etc/fstab
2020-09-14 09:43:07 -05:00
sophia
638e3d35b9
Set hostname in /etc/hosts as first step to changing hostname
2020-09-08 11:03:02 -05:00
sophia
56fa014af8
Don't persist shared folders if mount options capability not provided
2020-08-19 15:47:21 -05:00
Chris Roberts
cd2d84fda7
Adjust synced folder collection class
2020-08-19 15:00:40 -05:00
sophia
2a8372a272
Add mount type cap
2020-08-19 15:00:40 -05:00
sophia
7577c11eb6
Persist synced folders in action
2020-08-19 15:00:40 -05:00
sophia
2239ee8582
Create Hash with type attribute
2020-08-19 15:00:40 -05:00
sophia
cde39e26ba
Make mount options a synced_folder capability
2020-08-19 15:00:40 -05:00
Sophia Castellarin
e3b0784272
Merge pull request #11704 from soapy1/change-host-name-cap-arch
...
Make alt + arch + atomic-host +debian + gentoo + slackware + pld + photon + rhel +suse guests respect hostname network config option
2020-08-07 10:58:05 -05:00
sophia
e4367d1539
Refactor linux change host cap
2020-08-05 15:12:45 -05:00
Jeff Bonhag
862399905f
Detect older versions of OpenWrt
2020-07-30 17:20:29 -04:00
Sophia Castellarin
f49e9f9700
Merge pull request #11719 from soapy1/change-host-name-cap-darwin
...
Make darwin + openbsd +freebsd guest respect 'hostname' network config option
2020-07-30 12:27:38 -05:00
Sophia Castellarin
09f2c2716f
Merge pull request #11718 from soapy1/change-host-name-cap-alpine
...
Make alpine guest respect 'hostname' network config option
2020-07-30 11:29:34 -05:00
Jeff Bonhag
50d995f51d
Guest support for OpenWrt
...
This commit includes the following capabilties for OpenWrt:
- Guest detection
- SSH key replacement
- Change host name
- Rsync
2020-07-29 11:32:46 -04:00
Jeff Bonhag
a82a785651
Merge pull request #11614 from jbonhag/fixup/haiku-rsync-install
...
Fix #9552 : Install rsync on Haiku guests
2020-07-23 16:53:06 -04:00
sophia
9eb431b1bf
Clean up tests
2020-07-20 15:46:15 -05:00
sophia
cf130d07a2
Update omnios cap for setting hostname
2020-07-20 15:19:50 -05:00
sophia
169d7b4011
Update photon cap for setting hostname
...
sqash
2020-07-20 15:19:50 -05:00
sophia
5afd7fdd73
Extract change hostnamet base class
2020-07-20 15:19:50 -05:00
sophia
91ac0681cf
Update RHEL cap for setting hostname
2020-07-20 15:19:50 -05:00
sophia
c2b9497923
Update Gentoo cap for setting hostname
2020-07-20 15:19:50 -05:00
sophia
c844f7689d
Make pld guest respect 'hostname' network config option
2020-07-20 15:19:50 -05:00
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