projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12f4a35
)
packer: explicitly set Bash as default shell for Vagrant user
author
Michael Prokop
<mika@grml.org>
Thu, 11 Aug 2016 21:33:33 +0000
(23:33 +0200)
committer
Michael Prokop
<mika@grml.org>
Thu, 11 Aug 2016 21:34:16 +0000
(23:34 +0200)
If the provision script fails with Zsh setup then it's annoying
to be dropped to /bin/sh, so let's assume /bin/bash as safe
default.
packer/debian64_provision.sh
patch
|
blob
|
history
diff --git
a/packer/debian64_provision.sh
b/packer/debian64_provision.sh
index
218c8f6
..
eff15d1
100644
(file)
--- a/
packer/debian64_provision.sh
+++ b/
packer/debian64_provision.sh
@@
-100,7
+100,7
@@
vagrant_setup() {
chroot ${TARGET} apt-get -y install sudo
echo "* Adding Vagrant user"
- chroot ${TARGET} useradd -d /home/vagrant -m -u 1000 vagrant
+ chroot ${TARGET} useradd -d /home/vagrant -m -u 1000 vagrant
-s /bin/bash
echo "* Installing Vagrant ssh key"
mkdir -m 0700 -p ${TARGET}/home/vagrant/.ssh