just to confirm i can configure passwordless sudo, but google didn’t have any useful links for
“packer vagrant passwordless sudo not working” i’m trying to understand the low level detail of vagrant and when i do ‘vagrant up’ and have an ansible playbook, how is vagrant booting the box and installing ansible automatically, then executing ansible playbooks. so i can then debug packer and see which steps are differently. as packer isn’t automatically installing ansible and sudo doesn’t work. but when i boot the box in vagrant, passwordless sudo works as expected. i’m trying with ubuntu boxes. Sent from my iPhone > On 27 Sep 2019, at 19:29, Daniel Gil Jara <[email protected]> wrote: > > Passwordless configs? We're crazy? I've used packer for generate Gentoo > images, it is very good software. For passwordless sudo use the google. > > Atentamente, > Daniel Gil > > >> El vie., 27 sept. 2019 a las 20:13, John Patrick (<[email protected]>) >> escribió: >> I'm trying to use packer to boot a vagrant box, execute some ansible >> playbooks/tasks and then export the vagrant box. >> I raised an issue/question with packer >> https://github.com/hashicorp/packer/issues/8148 and was told to configure >> the password for ansible to use. But vagrant achieves passwordless sudo >> without extra configuration with the exact same box. >> >> My question is how is passwordless sudo achieved? Are are you aware what >> extra configure i need to do for packer, so it achieve the same seamless >> integration that vagrant does, when i get packer calling vagrant executing >> ansible? >> >> -- >> 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/vagrant/issues >> IRC: #vagrant on Freenode >> --- >> You received this message because you are subscribed to the Google Groups >> "Vagrant" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/vagrant-up/d7bf6e0f-c157-4de0-b78e-58898c01fb8d%40googlegroups.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/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to a topic in the Google > Groups "Vagrant" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/vagrant-up/eQe8kwWqnno/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/CAG9%3Df1owEEB8Qqpt7iKZ8zdWZpQy_gMbFkv2PPorzzPnp3XT-A%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/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/3AB46CFB-9599-43A9-A9EE-7E5CA3EA7EF3%40gmail.com.
