1. Remove config from .gitignore
2. Add minimal, user-neutral config 3. Change Dockerfile to work around issues building buster on 64-bit hosts 4. Modify export-image/prerun.sh to make sure newly created loop devices are available to mount 5. Add custom setup script 01-run.sh in stage2/04-custom-tweaks
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
# Install Docker using default installation script
|
||||
# and perform post-install steps to not require
|
||||
# sudo for docker commands
|
||||
echo "Installing docker..."
|
||||
on_chroot << EOF
|
||||
curl -sSL get.docker.com | sh
|
||||
usermod -aG docker ${FIRST_USER_NAME}
|
||||
EOF
|
||||
|
||||
# Ensure ${FIRST_USER_NAME} is set up for auto-login
|
||||
echo "Setting up ${FIRST_USER_NAME} for auto-login"
|
||||
on_chroot << EOF
|
||||
SUDO_USER="${FIRST_USER_NAME}" raspi-config nonint do_boot_behaviour B4
|
||||
EOF
|
||||
Reference in New Issue
Block a user