Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
c2c01a82
Commit
c2c01a82
authored
Sep 11, 2024
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deflogin: set LIVECD_SESSION=DEFAULT_SESSION in livecd-user.conf
parent
69547ae4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
50-livecd-user
features.in/deflogin/live/image-scripts.d/50-livecd-user
+6
-1
No files found.
features.in/deflogin/live/image-scripts.d/50-livecd-user
View file @
c2c01a82
#!/bin/sh -efu
# setup settings for live user
[
-f
/etc/sysconfig/livecd-user.conf
]
||
exit
0
livecd_user_conf
=
/etc/sysconfig/livecd-user.conf
[
-f
"
$livecd_user_conf
"
]
||
exit
0
cat
>
/etc/sysconfig/livecd-user.conf
<<
EOF
LIVECD_LOGIN="
${
GLOBAL_LIVE_USER
:-}
"
...
...
@@ -9,3 +11,6 @@ LIVECD_GROUPS="${GLOBAL_GROUPS:-}"
LIVECD_ADMIN=1
LIVECD_SUDO=1
EOF
[
-z
"
${
GLOBAL_DEFAULT_SESSION
:-}
"
]
||
echo
"LIVECD_SESSION=
$GLOBAL_DEFAULT_SESSION
"
>>
"
$livecd_user_conf
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment