summaryrefslogtreecommitdiff
path: root/libkvasile
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-08-07 16:12:42 +0100
committerV3n3RiX <venerix@rogentos.ro>2016-08-07 16:12:42 +0100
commit6b098dc017a69cac78a4f56c497c717cb72e4508 (patch)
tree0c324d77a49219ddd53a73ef080ed6db05d6f849 /libkvasile
parent42db0af4dfac231d1d011e830e5451a1236580a7 (diff)
enable systemservices at iso creation
Diffstat (limited to 'libkvasile')
-rwxr-xr-xlibkvasile6
1 files changed, 6 insertions, 0 deletions
diff --git a/libkvasile b/libkvasile
index 73ea8d7..c2e496e 100755
--- a/libkvasile
+++ b/libkvasile
@@ -184,6 +184,12 @@ isochainload () {
chroot "$isosyncdir" su - "$isouser" -c "$isochainloadcmd"
}
+isoservices () {
+ for service in cups kogaionlive lightdm NetworkManager virtualbox-guest-additions ; do
+ chroot "$isosyncdir" su - "$isouser" -c "systemctl enable "$service""
+ done
+}
+
isochroot () {
echo -e ""
echo -e "DROPPING YOU TO A ROOT SHELL INTO ISO ENVIRONMENT"