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
aa1c458c
Commit
aa1c458c
authored
Oct 10, 2013
by
Alexander Khryukin
Committed by
Stéphane Graber
Oct 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo and minor cleanup
Signed-off-by:
Alexander Khryukin
<
alexander@mezon.ru
>
Acked-by:
Stéphane Graber
<
stgraber@ubuntu.com
>
parent
edcf9b59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lxc-openmandriva.in
templates/lxc-openmandriva.in
+3
-3
No files found.
templates/lxc-openmandriva.in
View file @
aa1c458c
...
@@ -98,8 +98,8 @@ set_guest_root_password()
...
@@ -98,8 +98,8 @@ set_guest_root_password()
{
{
[[
-z
"
$root_password
"
]]
&&
return
# pass is empty, abort
[[
-z
"
$root_password
"
]]
&&
return
# pass is empty, abort
echo
-n
" - setting guest root password.."
echo
" - setting guest root password.."
echo
-n
"root passwd is:
$root_password
"
echo
"root passwd is:
$root_password
"
echo
"root:
$root_password
"
|
chroot
"
$rootfs_path
"
chpasswd
echo
"root:
$root_password
"
|
chroot
"
$rootfs_path
"
chpasswd
echo
"done."
echo
"done."
}
}
...
@@ -149,7 +149,7 @@ copy_openmandriva()
...
@@ -149,7 +149,7 @@ copy_openmandriva()
update_openmandriva
()
update_openmandriva
()
{
{
echo
"automated update in progress..."
echo
"automated update in progress..."
urpmi
--root
$cache
/rootfs urpmi-root
$cache
/rootfs
--auto
--auto-update
--ignorearch
urpmi
--root
$cache
/rootfs
--
urpmi-root
$cache
/rootfs
--auto
--auto-update
--ignorearch
}
}
configure_openmandriva_systemd
()
configure_openmandriva_systemd
()
...
...
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