summaryrefslogtreecommitdiff
path: root/rootfs/samizdat.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'rootfs/samizdat.yaml')
-rw-r--r--rootfs/samizdat.yaml26
1 files changed, 21 insertions, 5 deletions
diff --git a/rootfs/samizdat.yaml b/rootfs/samizdat.yaml
index 4696b67..3bbedc3 100644
--- a/rootfs/samizdat.yaml
+++ b/rootfs/samizdat.yaml
@@ -7,18 +7,34 @@ binaries:
7- cokiki 7- cokiki
8- hosts 8- hosts
9packages: 9packages:
10# - sudo 10- sudo
11- dbus-x11 11- dbus-x11
12- linux-image-$(kver)-$(karch)
13- ../openssh-client_8.4p1-2_$(debarch).deb
14- ../openssh-server_8.4p1-2_$(debarch).deb
15- ../openssh-sftp-server_8.4p1-2_$(debarch).deb
16#- ../openssh-tests_8.4p1-2_$(debarch).deb
17#- putty-tools
18- ../ssh_8.4p1-2_all.deb
19- ../ssh-askpass-gnome_8.4p1-2_$(debarch).deb
20- sshfs
21- procps
22- net-tools
23- wireless-tools
24unit-files:
25- rc-local.service
12 26
13skel-files: [] 27skel-files: []
14 28
15chroot-commands: 29chroot-commands:
16#- "dpkg-statoverride" 30#- "dpkg-statoverride"
17- "useradd u -G sudo -m -p '' -s /bin/bash" 31- "useradd u -G sudo -m -p '' -s /bin/bash"
18# - 'loginctl enable-linger u' 32- "useradd d -G sudo -m -p '' -s /bin/bash"
19#- "dpkg --configure sudo" 33- "echo '#!/bin/sh' > /etc/rc.local && chmod +x /etc/rc.local"
20#- "touch /var/lib/sudo/lectured/u" 34- "echo loginctl enable-linger u >> /etc/rc.local"
35- "dpkg --configure sudo || true"
36- "touch /var/lib/sudo/lectured/u"
21- "mkdir -p /etc/sudoers.d; echo 'u ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/u" 37- "mkdir -p /etc/sudoers.d; echo 'u ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/u"
22 38
23- "systemctl enable debug-shell" 39- "systemctl enable debug-shell"
24- "DEBIAN_FRONTEND=noninteractive apt-get -f install; true" 40- "DEBIAN_FRONTEND=noninteractive apt -f install; true"