Commit Graph

335 Commits

Author SHA1 Message Date
Mitchell Hashimoto 4b4255c6d1 Merge pull request #4492 from tboerger/feature/suse-fixes
SUSE naming and capability fixes
2014-10-23 10:11:28 -07:00
Mitchell Hashimoto e30ba41104 Merge pull request #4499 from sprin/centos_7_nfs_client
Fix NFSClient plugin for Redhat / Centos 7 guests
2014-10-23 10:09:11 -07:00
Mitchell Hashimoto 4c0aa0d9cb update CHANGELOG 2014-10-23 10:04:58 -07:00
Mitchell Hashimoto fca6428ecd Merge pull request #4518 from lunetics/master
guests/freebsd: allow NFS version param
2014-10-23 10:03:41 -07:00
Mitchell Hashimoto f24af5dda4 Merge pull request #4527 from Asquera/bugfix/4465-host-not-added-to-etc-hosts
Fix #4465 update /etc/hosts on rhel 7 and derivatives (CentOS)
2014-10-23 09:57:12 -07:00
Mitchell Hashimoto 50b0ea8173 Merge pull request #4535 from plu/master
guests/darwin: Set ComputerName and LocalHostName on darwin guests
2014-10-23 09:55:13 -07:00
Mitchell Hashimoto 35c9b59968 Merge pull request #4565 from dup2/patch-1
guests/ubuntu: A more reliable way to detect Ubuntu via lsb_release
2014-10-23 09:46:54 -07:00
Mitchell Hashimoto bab9e979b7 Merge pull request #4621 from awusizok/fix/master/2905-static-solaris11-addresses
guests/solaris: Solving #2905 - Restarting Solaris 11 boxes with static ip addresses
2014-10-23 09:20:10 -07:00
Mitchell Hashimoto 4a9d99ef71 Merge pull request #4641 from dimbleby/smb_share_error
Provide output on raising LinuxMountFailed
2014-10-23 09:18:20 -07:00
uchagani 2d465ea923 Fixed escape character problem in registry path 2014-10-23 11:27:14 -04:00
uchagani 90cbdd85e1 Rename Windows guest without reboot 2014-10-23 02:27:05 -04:00
dch 97589636b1 Provide output on raising LinuxMountFailed 2014-10-14 18:25:13 +01:00
Jörn Schwarze b2a37dae99 ...missed to replace the device variable :-) 2014-10-10 22:49:45 +02:00
Jörn Schwarze fe3a380823 First fix didn't work correctly.
Now, the ip address will be removed, if there (from dhcp) and re-configured with the given value.
2014-10-10 22:42:13 +02:00
Jörn Schwarze 5036326319 Adding condition for the ipadm command on static ip addresses.
This will enable restarting solaris 11 vagrant boxes with static ip addresses.
2014-10-10 20:09:42 +02:00
Shawn Neal 220e4f23b2 Merge pull request #4209 from mwrock/smb_sync
adding smb sync folder implementation for windows guests addressing #3699
2014-10-07 08:19:26 -07:00
Dr. Zarkov 779e54eef5 A more reliable way to detect Ubuntu
The default /etc/issue might have been changed by the administrator and not contain the string 'Ubuntu' anymore.
2014-09-26 14:05:54 +02:00
Johannes Plunien 286e9cd01e Set ComputerName and LocalHostName on darwin guests
This sets the bonjour host name for darwin guests to the same value
as config.vm.hostname. It also sets the user-friendly name for the
system.
2014-09-21 19:14:59 +02:00
Felix Gilcher 96b011b39e update /etc/hosts on rhel 7
the previous fix for #4465 assumed that the NetworkManager takes care of updating /etc/hosts with
the new hostname, but testing shows it doesn't. This change ensures that the change is always added
to /etc/hosts when the name changes.
2014-09-20 17:34:01 +02:00
Matthias Breddin d4b30dd12a Allow nfs 2014-09-18 17:14:13 +02:00
sprin a712f70634 Fix NFSClient plugin for Redhat / Centos 7 guests
Fixes #4476.
2014-09-12 15:35:10 -07:00
Thomas Boerger 063a903bdb Fixed and extended suse guest capabilities
In order to get a SUSE guest running and installing fine i have added a
correct capability for installing rsync and nfs-client.

I have included SUSE naming fixes as well because SUSe doesnt get
spelled SuSE anymore :).
2014-09-11 17:07:49 +02:00
Thomas Boerger 6c20b6cd34 Fixed suse spelling in fedora capability 2014-09-11 10:52:15 +02:00
Andy Thompson e667bcb675 Fix failure to detect RHEL 7 flavours 2014-09-04 22:03:07 +01:00
Andy Thompson 5c988b64b5 Fixes #4450, add another expand_path ../ to get back to the guests directory 2014-09-04 20:51:10 +01:00
Andy Thompson fb1d4adf87 Fixes #4438 typo missing sending networks param for rhel guest network 2014-09-03 16:09:30 +01:00
keithchambers 1f93582131 Fixed typo: hostnamectl vs. homenamectl 2014-09-02 21:55:33 -07:00
Mitchell Hashimoto 41f4ec1e4d guests/redhat: set hostname on EL7 [GH-4352] 2014-08-31 09:58:12 -07:00
Mitchell Hashimoto f4ee4764bb guests/redhat: configure networks properly on EL7 [GH-4195] 2014-08-30 22:49:13 -07:00
Mitchell Hashimoto 6074a63683 guests/redhat: install Docker on EL7 properly [GH-4402] 2014-08-30 22:44:48 -07:00
Eric Saxby dd77295533 Ensure rsync_post has find permissions on smartos 2014-08-29 14:17:28 -07:00
Mitchell Hashimoto 9e5a2d28c6 Merge pull request #4308 from Voxer/fix/master/issue4307
guest/freebsd: fix interface device names in /etc/rc.conf
2014-08-29 09:54:31 -07:00
Mitchell Hashimoto b2b79a4ea8 guests/linux: backoff a bit on the mount timeout [GH-4403] 2014-08-29 09:47:34 -07:00
Mitchell Hashimoto b42e9aef23 guests/linux: more verbose output when shared folder mount fails
[GH-4403]
2014-08-29 08:27:48 -07:00
Leo Simons fec14cf04c Use -f argument to rm to force-remove files.
When using pty=true, removing files using sudo may request confirmation,
which will hang the connection.

Similarly, sometimes assumptions about file existence may be wrong and
in those cases it seems better to continue on as long as the file does
not exist, so -f makes sense there, too.
2014-08-29 10:51:31 +02:00
Matt Wrock d820bef6f4 filter host IPs to those that resolve on guest when finding addresable IPs on a windows guest 2014-08-11 00:07:21 -07:00
Matt Wrock e64f84491e adding smb sync folder implementation for windows guests addressing #3699 2014-08-11 00:07:21 -07:00
Kostyantyn Fomin c43ab95f86 Fix Issue 4307: FreeBSD fix interface device names in /etc/rc.conf
https://github.com/mitchellh/vagrant/issues/4307

Fix details:
Pass network interface name to template renderer and use it
in static and dhcp templates to render /etc/rc.conf entries.

  modified:   plugins/guests/freebsd/cap/configure_networks.rb
  modified:   templates/guests/freebsd/network_dhcp.erb
  modified:   templates/guests/freebsd/network_static.erb

Verification scenario:
Check if /etc/rc.conf contains vtnet entries when paravirtualized
NIC devices are used in FreeBSD guest.
2014-08-06 14:10:05 -07:00
Mitchell Hashimoto 00bd226fc7 guests/nixos: don't detect as Windows [GH-4302] 2014-08-06 11:17:41 -07:00
Mitchell Hashimoto 3f456cdf45 Merge pull request #4088 from salimane/pr_nfs_rpcbind_centos
guests/centos: Restart rpcbind and nfs while installing nfs client on centos guests
2014-08-06 10:47:38 -07:00
Mitchell Hashimoto bd94fbd9ba Merge pull request #4274 from sax/smartos_rsync
guests/smartos: rsync on SmartOS should use pfexec
2014-08-05 17:20:38 -07:00
Gilles Dubreuil bd4d4284c4 Fixes Fedora 20 network issues when virtual
On Fedora 20 virtual machines biosdevname command
'Returns 4 if running in a virtual machine.'

This patch:
  - Uses the biosdevname command return value to detect if virtual
  - Uses /sys/net to get interface names - Might be better solution
  - Leaves unchanged the original 'bare metal' case - I wonder what for
    though?

Tested with Fedora Cloud image adapted for vagrant-libvirt

Fixes issue #4104
2014-08-05 13:19:51 +10:00
Eric Saxby 0cb7ec2d52 rsync on SmartOS should use pfexec 2014-07-31 14:41:06 -07:00
Shawn Neal 911406ed4a Addressed issues with Windows guest renaming on Win7/8
Removed dependency upon netdom which is not always available on all Windows versions. This implementation that uses PowerShell and WMI should work on all OS and PowerShell versions.

Fixed another issue where host renames would always happen when the hostname was longer than 15 characters. The COMPUTERNAME environment variable only returns the first 15 characters so we no longer use that to check the current host name.
2014-06-25 12:15:01 -07:00
Salimane Adjao Moustapha dd74a82d56 avahi not needed 2014-06-23 17:17:54 +02:00
Salimane Adjao Moustapha b96dc972e0 install rpc package while installing nfs client on centos guests 2014-06-23 14:56:10 +02:00
Mitchell Hashimoto 0c3d677bf5 Merge pull request #4006 from mitchellh/fix-issue-3987
guests/windows: reboot after hostname change
2014-06-12 11:40:22 -07:00
Mitchell Hashimoto 4d76327382 guests/freebsd: style 2014-06-12 11:38:53 -07:00
Calvin Hendryx-Parker eda1ac5667 Updated the rsync freebsd plugin install process for FreeBSD 10 2014-06-10 15:07:50 -04:00
Shawn Neal d4bd05883d Fixed issue 3987
Reboot the Windows guest after renaming the computer so changes take affect immediately before attempting to provision the box.

- Changed rename from wmic to netdom since netdom seems to work correctly in Windows 2008R2 and newer OSs.
- Fixed Windows guest error translations, the wrong namespace was specified in the yaml file.
2014-06-09 22:46:03 -07:00