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
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-260 -20 520 40" width="1300" height="100">
|
||||
<title>Swiss Olympiad in Informatics</title>
|
||||
<circle r="13.75" fill="none" stroke="#101010" stroke-width="2.5"/>
|
||||
<path fill="none" stroke="#1eadf5" stroke-width="2" d="M7.6121 0 0 -7.6121 13.2727 -15.7298M-7.6121 0 7.6121 0 0 7.6121 -7.6121 0 -14.3693 13.5411"/>
|
||||
<g fill="#1862ff">
|
||||
<circle r="3" cy="7.6121"/>
|
||||
<circle r="3" cx="7.6121"/>
|
||||
<circle r="3" cy="-7.6121"/>
|
||||
<circle r="3" cx="-7.6121"/>
|
||||
<circle r="3" cx="13.2727" cy="-15.7298"/>
|
||||
<circle r="3" cx="-14.3693" cy="13.5411"/>
|
||||
</g>
|
||||
<g style="font-family: 'DejaVu Sans'; font-size: 5px; fill: #fff;">
|
||||
<text x="40" y="-9">This laptop is property of the Swiss Olympiad in Informatics. Contact: info@soi.ch</text>
|
||||
<text x="40" y="1">Dieser Laptop ist Eigentum der Schweizer Informatikolympiade. Kontakt: info@soi.ch</text>
|
||||
<text x="40" y="11">Software version: @date@</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 937 B |
|
|
@ -0,0 +1,11 @@
|
|||
Types: deb deb-src
|
||||
URIs: http://deb.debian.org/debian
|
||||
Suites: bookworm bookworm-updates
|
||||
Components: main contrib non-free non-free-firmware
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
|
||||
Types: deb deb-src
|
||||
URIs: http://deb.debian.org/debian-security
|
||||
Suites: bookworm-security
|
||||
Components: main contrib non-free non-free-firmware
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
Name: Accept noauth users without any authentication
|
||||
Default: yes
|
||||
Priority: 512
|
||||
Auth-Type: Primary
|
||||
Auth:
|
||||
[success=end default=ignore] pam_succeed_if.so user ingroup noauth
|
||||
Loading…
Add table
Add a link
Reference in a new issue