mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-07 07:50:06 +00:00
Fix for ALTLinux container creation in all branches
Use 'apt-conf' virtual package for ALTLinux default packages set Signed-off-by: Denis Pynkin <denis_pynkin@epam.com>
This commit is contained in:
parent
30498b9e1d
commit
0b7c005e28
@ -178,7 +178,7 @@ download_altlinux()
|
|||||||
APT_GET="apt-get -o RPM::RootDir=$INSTALL_ROOT -y"
|
APT_GET="apt-get -o RPM::RootDir=$INSTALL_ROOT -y"
|
||||||
PKG_LIST="$(grep -hs '^[^#]' "$profile_dir/$profile")"
|
PKG_LIST="$(grep -hs '^[^#]' "$profile_dir/$profile")"
|
||||||
# if no configuration file $profile -- fall back to default list of packages
|
# if no configuration file $profile -- fall back to default list of packages
|
||||||
[ -z "$PKG_LIST" ] && PKG_LIST="interactivesystem apt apt-conf-sisyphus etcnet-full openssh-server systemd-sysvinit systemd-units systemd NetworkManager-daemon"
|
[ -z "$PKG_LIST" ] && PKG_LIST="interactivesystem apt apt-conf etcnet-full openssh-server systemd-sysvinit systemd-units systemd NetworkManager-daemon"
|
||||||
|
|
||||||
mkdir -p $INSTALL_ROOT/var/lib/rpm
|
mkdir -p $INSTALL_ROOT/var/lib/rpm
|
||||||
rpm --root $INSTALL_ROOT --initdb
|
rpm --root $INSTALL_ROOT --initdb
|
||||||
|
Loading…
Reference in New Issue
Block a user