Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
c60646aa
Commit
c60646aa
authored
Jan 29, 2016
by
Stéphane Graber
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #773 from nehaljwani/fix-lxc-create-report
Fix message after {fedora|centos}container creation
parents
dd3cac40
d510d522
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
2 deletions
+22
-2
lxc-centos.in
templates/lxc-centos.in
+11
-1
lxc-fedora.in
templates/lxc-fedora.in
+11
-1
No files found.
templates/lxc-centos.in
View file @
c60646aa
...
...
@@ -916,7 +916,16 @@ then
else
if
[
${
root_expire_password
}
=
"yes"
]
then
echo
"
if
(
mountpoint
-q
--
"
${
rootfs_path
}
"
)
then
echo
"To reset the root password, you can do:
lxc-start -n
${
name
}
lxc-attach -n
${
name
}
-- passwd
lxc-stop -n
${
name
}
"
else
echo
"
The root password is set up as "
expired
" and will require it to be changed
at first login, which you should do as soon as possible. If you lose the
root password or wish to change it without starting the container, you
...
...
@@ -925,5 +934,6 @@ also reset the expired flag):
chroot
${
rootfs_path
}
passwd
"
fi
fi
fi
templates/lxc-fedora.in
View file @
c60646aa
...
...
@@ -1468,7 +1468,16 @@ then
else
if
[
${
root_expire_password
}
=
"yes"
]
then
echo
"
if
(
mountpoint
-q
--
"
${
rootfs_path
}
"
)
then
echo
"To reset the root password, you can do:
lxc-start -n
${
name
}
lxc-attach -n
${
name
}
-- passwd
lxc-stop -n
${
name
}
"
else
echo
"
The root password is set up as "
expired
" and will require it to be changed
at first login, which you should do as soon as possible. If you lose the
root password or wish to change it without starting the container, you
...
...
@@ -1477,5 +1486,6 @@ also reset the expired flag):
chroot
${
rootfs_path
}
passwd
"
fi
fi
fi
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