# add config script to sudoers so the user only needs to enter the password on login
config ALL=(ALL) NOPASSWD:/home/config/config_startup.sh
{
"type": "file",
"source": "files/common/",
"destination": "/tmp/hydra-common"
},
echo "Moving Sudoers files"
chown -R 0 /tmp/hydra-common/sudoers/*
chmod 440 /tmp/hydra-common/sudoers/*
mv /tmp/hydra-common/sudoers/* /etc/sudoers.d/
vsphere: >>> /etc/sudoers.d/config_users: syntax error near line 2 <<<
vsphere: sudo: parse error in near line 2
vsphere: sudo: no valid sudoers sources found, quitting
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/08d1bbef-45ad-4f15-bc86-e822b3275b15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt9aZevhfLRsDibDE0vR2v%3DW9O0LcEBfud%2BvWipYdADi%3Dg%40mail.gmail.com.
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/b854a995-4765-43fe-ae62-da72e9beb898%40googlegroups.com.