aboutsummaryrefslogtreecommitdiffstats
path: root/stage4
diff options
context:
space:
mode:
authorSerge Schneider <[email protected]>2020-11-17 15:13:18 +0000
committerSerge Schneider <[email protected]>2020-11-17 15:13:18 +0000
commit6c21cc1e4ddcf177b7bcf584e23cad734ea5d7e3 (patch)
tree16f407e960033157abcf58b0082b36876a21d04d /stage4
parentdd96ca1c8629da6589b381546e2b7677c7611744 (diff)
stage4: add printing support
Diffstat (limited to 'stage4')
-rw-r--r--stage4/05-print-support/00-packages2
-rwxr-xr-xstage4/05-print-support/01-run.sh5
2 files changed, 7 insertions, 0 deletions
diff --git a/stage4/05-print-support/00-packages b/stage4/05-print-support/00-packages
new file mode 100644
index 0000000..e9c36bd
--- /dev/null
+++ b/stage4/05-print-support/00-packages
@@ -0,0 +1,2 @@
+cups
+system-config-printer
diff --git a/stage4/05-print-support/01-run.sh b/stage4/05-print-support/01-run.sh
new file mode 100755
index 0000000..dc9e2b2
--- /dev/null
+++ b/stage4/05-print-support/01-run.sh
@@ -0,0 +1,5 @@
+#!/bin/bash -e
+
+on_chroot <<EOF
+adduser "$FIRST_USER_NAME" lpadmin
+EOF