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
Anton Palgunov
mkimage-profiles
Commits
76024e65
Commit
76024e65
authored
Jan 27, 2024
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live: fix disable /etc/issue, when rescue live
parent
27e5daf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
60-live-rescue-root
features.in/live/live/image-scripts.d/60-live-rescue-root
+2
-2
No files found.
features.in/live/live/image-scripts.d/
3
0-live-rescue-root
→
features.in/live/live/image-scripts.d/
6
0-live-rescue-root
View file @
76024e65
...
...
@@ -11,8 +11,8 @@
rpm
-q
systemd-sysvinit
>
/dev/null 2>&1
||
exit
0
# disable issue "Hello friend, say '$LIVECD_LOGIN' to log in at"
[
!
-f
/etc/sysconfig/livecd-user
]
||
sed
-i
's/^#LIVECD_NO_ISSUE=1/LIVECD_NO_ISSUE=1/'
/etc/sysconfig/livecd-user
[
!
-f
/etc/sysconfig/livecd-user
.conf
]
||
echo
'LIVECD_NO_ISSUE=1'
>>
/etc/sysconfig/livecd-user.conf
mkdir
-p
/etc/systemd/system/getty@.service.d
cat
>>
/etc/systemd/system/getty@.service.d/override.conf
<<
'
EOF
'
...
...
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