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
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
1445ff42
Commit
1445ff42
authored
Nov 20, 2014
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deflogin: treat no users as a warning
There could be root-only VM appliances, for example, and ROOTPW is now handled through this feature.
parent
4cb875cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
50-issue
features.in/deflogin/rootfs/image-scripts.d/50-issue
+4
-1
No files found.
features.in/deflogin/rootfs/image-scripts.d/50-issue
View file @
1445ff42
...
@@ -2,7 +2,10 @@
...
@@ -2,7 +2,10 @@
# issue welcome message if there's a guest user
# issue welcome message if there's a guest user
# (the first one configured with empty password)
# (the first one configured with empty password)
[
-n
"
$GLOBAL_USERS
"
]
||
exit
1
[
-n
"
$GLOBAL_USERS
"
]
||
{
echo
"** 50-issue: warning, no users created"
>
&1
exit
0
}
guest
=
guest
=
for
u
in
$GLOBAL_USERS
;
do
for
u
in
$GLOBAL_USERS
;
do
...
...
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