Initial commit
This commit is contained in:
commit
968d09e362
88 changed files with 2323 additions and 0 deletions
17
os/layers/training-installer/includes.chroot/usr/local/bin/install-config
Executable file
17
os/layers/training-installer/includes.chroot/usr/local/bin/install-config
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
# Set up apt lists.
|
||||
cp -rT /usr/local/share/target-sources /etc/apt/sources.list.d
|
||||
rm /etc/apt/sources.list
|
||||
|
||||
USERNAME=soi
|
||||
USER_FULLNAME="SOI"
|
||||
# Password: soi
|
||||
USER_PASSWORD='$y$j9T$h5VhMd4KkdmbxdZD1gO0N/$1hvwZgO8pQw13Xd6jaNXbtkbqVOC4W/ia/KXOcCGYvB'
|
||||
|
||||
# Create user.
|
||||
adduser --disabled-password --gecos "$USER_FULLNAME" "$USERNAME"
|
||||
usermod -p "$USER_PASSWORD" "$USERNAME"
|
||||
adduser "$USERNAME" noauth
|
||||
Loading…
Add table
Add a link
Reference in a new issue