Do not interpolate in SMB linux heredoc
Fixes GH-6906
This commit is contained in:
parent
7574937c3f
commit
fbd765acc1
@ -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}" : ""}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user