summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-12-08 22:47:34 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-12-08 22:47:34 -0600
commit7aa97473dea3a40de18e155eae90f71cf12ee062 (patch)
treed0780aa7884d51b1981ca4a9d16fd646b3f73dca
parentdf456089e893a2ece0adb7db08366413141bc206 (diff)
downloadimage-7aa97473dea3a40de18e155eae90f71cf12ee062.tar.gz
image-7aa97473dea3a40de18e155eae90f71cf12ee062.tar.bz2
image-7aa97473dea3a40de18e155eae90f71cf12ee062.tar.xz
image-7aa97473dea3a40de18e155eae90f71cf12ee062.zip
Base configuration: Only use live user in live CDsHEADcurrent
This removes the empty-password 'live' user from tarballs and Horizon installation media.
-rw-r--r--configs/base/base.installfile6
-rw-r--r--configs/base/live-base.installfile2
-rw-r--r--configs/base/live-user.installfile5
3 files changed, 7 insertions, 6 deletions
diff --git a/configs/base/base.installfile b/configs/base/base.installfile
index 6ba032f..4a0cafd 100644
--- a/configs/base/base.installfile
+++ b/configs/base/base.installfile
@@ -32,9 +32,3 @@ rootshell /bin/zsh
repository https://distfiles.adelielinux.org/adelie/current/system
repository https://distfiles.adelielinux.org/adelie/current/user
-
-# Live User
-username live
-useralias live Live User
-usergroups live disk,users,audio,video,cdrom,games,floppy,cdrw,ping,usb
-pkginstall livecd-support
diff --git a/configs/base/live-base.installfile b/configs/base/live-base.installfile
index 4eaf658..a883819 100644
--- a/configs/base/live-base.installfile
+++ b/configs/base/live-base.installfile
@@ -16,3 +16,5 @@ svcenable NetworkManager
svcenable bluetooth graphical
svcenable chronyd graphical
svcenable sddm graphical
+
+inherit live-user.installfile
diff --git a/configs/base/live-user.installfile b/configs/base/live-user.installfile
new file mode 100644
index 0000000..2ad7337
--- /dev/null
+++ b/configs/base/live-user.installfile
@@ -0,0 +1,5 @@
+# Live User
+username live
+useralias live Live User
+usergroups live disk,users,audio,video,cdrom,games,floppy,cdrw,ping,usb
+pkginstall livecd-support