Do not interpolate in SMB linux heredoc

Fixes GH-6906
This commit is contained in:
Seth Vargo 2016-02-29 07:19:45 -05:00
parent 7574937c3f
commit fbd765acc1
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ module VagrantPlugins
# Write the credentials file
machine.communicate.sudo(<<-SCRIPT)
cat <<EOF >/etc/smb_creds_#{name}
cat <<"EOF" >/etc/smb_creds_#{name}
username=#{username}
password=#{smb_password}
#{domain ? "domain=#{domain}" : ""}