Fix indentation

This commit is contained in:
sophia 2020-10-28 12:35:36 -05:00
parent 0979cfcf4c
commit 12d5b56f14

View File

@ -29,13 +29,13 @@ module VagrantPlugins
comm.sudo(cmd)
end
else
if !comm.test("hostname -f | grep '^#{name}$'", sudo: false)
cmd = <<-EOH.gsub(/^ {14}/, "")
echo #{name} > /etc/HOSTNAME
hostname '#{basename}'
EOH
comm.sudo(cmd)
end
if !comm.test("hostname -f | grep '^#{name}$'", sudo: false)
cmd = <<-EOH.gsub(/^ {14}/, "")
echo #{name} > /etc/HOSTNAME
hostname '#{basename}'
EOH
comm.sudo(cmd)
end
end
end