Fix another chroot/chown combo
This commit is contained in:
parent
b5da51972c
commit
314bc2247d
@ -42,7 +42,7 @@ if [ ! -d $CHROOTCACHE/natty-dev ]; then
|
|||||||
chroot $CHROOTCACHE/natty-dev groupadd libvirtd
|
chroot $CHROOTCACHE/natty-dev groupadd libvirtd
|
||||||
chroot $CHROOTCACHE/natty-dev useradd stack -s /bin/bash -d $DEST -G libvirtd
|
chroot $CHROOTCACHE/natty-dev useradd stack -s /bin/bash -d $DEST -G libvirtd
|
||||||
mkdir -p $CHROOTCACHE/natty-dev/$DEST
|
mkdir -p $CHROOTCACHE/natty-dev/$DEST
|
||||||
chown stack $CHROOTCACHE/natty-dev/$DEST
|
chroot $CHROOTCACHE/natty-dev chown stack $DEST
|
||||||
|
|
||||||
# a simple password - pass
|
# a simple password - pass
|
||||||
echo stack:pass | chroot $CHROOTCACHE/natty-dev chpasswd
|
echo stack:pass | chroot $CHROOTCACHE/natty-dev chpasswd
|
||||||
|
Loading…
Reference in New Issue
Block a user