mirror of
https://github.com/lxc/lxc-templates.git
synced 2025-04-27 09:57:28 +00:00
plamo: remove unnecesssary initpkg execution at container config
We do not have to re-execute initpkg at container configuration. The remaining initpkg script will be executed at container startup. Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
This commit is contained in:
parent
937758dba9
commit
50a41ba878
@ -281,18 +281,12 @@ configure_plamo7() {
|
||||
SERVICE="dhclient"
|
||||
EOF
|
||||
|
||||
# initpkg
|
||||
# remove initpkg that does not exec
|
||||
noexec="shadow netconfig7 eudev openssh"
|
||||
for f in $noexec
|
||||
do
|
||||
rm -f $rootfs/var/log/initpkg/"$f"
|
||||
done
|
||||
pushd $rootfs
|
||||
for f in var/log/initpkg/*
|
||||
do
|
||||
chroot $rootfs sh ./$f
|
||||
done
|
||||
popd
|
||||
}
|
||||
|
||||
configure_plamo() {
|
||||
|
Loading…
Reference in New Issue
Block a user