packer-arch/scripts
Nicolas Iooss 322ec10c43 Create vagrant user in vagrant group
The Vagrant documentation for option "group" in syncing folders states
(in https://www.vagrantup.com/docs/synced-folders/basic_usage.html#group):
"By default this will be the SSH user". Vagrant indeed tries to change
the owner and group of synchronized files to vagrant:vagrant (not
vagrant:users). It outputs:

    The following SSH command responded with a non-zero exit status.
    Vagrant assumes that this means the command failed!

    find /vagrant '!' -type l -a '(' ! -user vagrant -or ! -group vagrant
    ')' -exec chown vagrant:vagrant '{}' +

    Stdout from the command:

    Stderr from the command:

    find: 'vagrant' is not the name of an existing group

Fix this by using --user-group instead of --gid users in the useradd
command which creates user vagrant.
2016-11-13 10:29:12 -08:00
..
cleanup.sh Optimize the pacman database before zeroing the drive 2016-02-11 09:08:28 -08:00
install-base.sh Create vagrant user in vagrant group 2016-11-13 10:29:12 -08:00
install-parallels.sh Remove duplication in installation scripts 2016-02-08 09:27:41 -08:00
install-virtualbox.sh Remove duplication in installation scripts 2016-02-08 09:27:41 -08:00