diff --git a/lib/vagrant-hostsupdater/HostsUpdater.rb b/lib/vagrant-hostsupdater/HostsUpdater.rb index bf61189..b2e8fc0 100644 --- a/lib/vagrant-hostsupdater/HostsUpdater.rb +++ b/lib/vagrant-hostsupdater/HostsUpdater.rb @@ -123,7 +123,7 @@ def host_entry(ip, hostnames, name, uuid = self.uuid) end def createHostEntry(ip, hostname, name, uuid = self.uuid) - %Q(#{ip} #{hostname} #{signature(name, uuid)}) + %Q(#{ip} #{hostname} #{signature(name, uuid.to_s)}) end # Create a regular expression that will match *any* entry describing the