nolim1t
5 years ago
3 changed files with 7 additions and 6 deletions
@ -1,9 +1,9 @@ |
|||||
# Test out image |
|
||||
echo "Hello World" >> $ROOTFS_DIR/home/$FIRST_USER_NAME/hello.txt |
|
||||
|
|
||||
# Save password (for createwallet script). |
# Save password (for createwallet script). |
||||
# We will remove this later when a more suitable secure system is finalized. |
# We will remove this later when a more suitable secure system is finalized. |
||||
|
|
||||
touch $ROOTFS_DIR/home/$FIRST_USER_NAME/.save_password |
touch $ROOTFS_DIR/home/$FIRST_USER_NAME/.save_password |
||||
|
|
||||
|
echo "Making Secrets directory" |
||||
|
mkdir -p $ROOTFS_DIR/home/$FIRST_USER_NAME/secrets |
||||
|
|
||||
|
|
||||
|
|
||||
|
@ -1,5 +1,7 @@ |
|||||
echo "Adding lncm to DOCKER group" |
echo "Adding lncm to DOCKER group" |
||||
|
echo "Also fixing permissions on folders" |
||||
on_chroot << EOF |
on_chroot << EOF |
||||
usermod -a -G docker $FIRST_USER_NAME |
usermod -a -G docker $FIRST_USER_NAME |
||||
|
chmod -R $FIRST_USER_NAME:$FIRST_USER_NAME /home/$FIRST_USER_NAME |
||||
EOF |
EOF |
||||
|
|
||||
|
Loading…
Reference in new issue