mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
osbuilder: add coreutils to guest rootfs
So that the debug console is more useful. In the meantime, remove iptables as it is not used by kata-agent any more. Fixes: #3138 Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
parent
7364cd4983
commit
f59d3ff600
@ -22,7 +22,7 @@ GPG_KEY_URL="https://www.centos.org/keys/RPM-GPG-KEY-CentOS-7"
|
|||||||
|
|
||||||
GPG_KEY_FILE="RPM-GPG-KEY-CentOS-7"
|
GPG_KEY_FILE="RPM-GPG-KEY-CentOS-7"
|
||||||
|
|
||||||
PACKAGES="iptables chrony"
|
PACKAGES="coreutils chrony"
|
||||||
|
|
||||||
#Optional packages:
|
#Optional packages:
|
||||||
# systemd: An init system that will start kata-agent if kata-agent
|
# systemd: An init system that will start kata-agent if kata-agent
|
||||||
|
@ -8,7 +8,7 @@ OS_VERSION=${OS_VERSION:-9.5}
|
|||||||
# Set OS_NAME to the desired debian "codename"
|
# Set OS_NAME to the desired debian "codename"
|
||||||
OS_NAME=${OS_NAME:-"stretch"}
|
OS_NAME=${OS_NAME:-"stretch"}
|
||||||
|
|
||||||
PACKAGES="systemd iptables init chrony kmod"
|
PACKAGES="systemd coreutils init chrony kmod"
|
||||||
|
|
||||||
# NOTE: Re-using ubuntu rootfs configuration, see 'ubuntu' folder for full content.
|
# NOTE: Re-using ubuntu rootfs configuration, see 'ubuntu' folder for full content.
|
||||||
source $script_dir/ubuntu/$CONFIG_SH
|
source $script_dir/ubuntu/$CONFIG_SH
|
||||||
|
@ -9,7 +9,7 @@ OS_VERSION=${OS_VERSION:-30}
|
|||||||
|
|
||||||
MIRROR_LIST="https://mirrors.fedoraproject.org/metalink?repo=fedora-${OS_VERSION}&arch=\$basearch"
|
MIRROR_LIST="https://mirrors.fedoraproject.org/metalink?repo=fedora-${OS_VERSION}&arch=\$basearch"
|
||||||
|
|
||||||
PACKAGES="iptables chrony"
|
PACKAGES="coreutils chrony"
|
||||||
|
|
||||||
#Optional packages:
|
#Optional packages:
|
||||||
# systemd: An init system that will start kata-agent if kata-agent
|
# systemd: An init system that will start kata-agent if kata-agent
|
||||||
|
@ -11,7 +11,7 @@ OS_VERSION=${OS_VERSION:-latest}
|
|||||||
OS_NAME=${OS_NAME:-"gentoo"}
|
OS_NAME=${OS_NAME:-"gentoo"}
|
||||||
|
|
||||||
# packages to be installed by default
|
# packages to be installed by default
|
||||||
PACKAGES="sys-apps/systemd net-firewall/iptables net-misc/chrony"
|
PACKAGES="sys-apps/systemd sys-apps/coreutils net-misc/chrony"
|
||||||
|
|
||||||
# Init process must be one of {systemd,kata-agent}
|
# Init process must be one of {systemd,kata-agent}
|
||||||
INIT_PROCESS=systemd
|
INIT_PROCESS=systemd
|
||||||
|
@ -12,7 +12,7 @@ OS_VERSION=${OS_VERSION:-15.0}
|
|||||||
OS_IDENTIFIER="$OS_DISTRO${OS_VERSION:+:$OS_VERSION}"
|
OS_IDENTIFIER="$OS_DISTRO${OS_VERSION:+:$OS_VERSION}"
|
||||||
|
|
||||||
# Extra packages to install in the rootfs
|
# Extra packages to install in the rootfs
|
||||||
PACKAGES="systemd iptables libudev1"
|
PACKAGES="systemd coreutils libudev1"
|
||||||
|
|
||||||
# http or https
|
# http or https
|
||||||
REPO_TRANSPORT="https"
|
REPO_TRANSPORT="https"
|
||||||
|
@ -12,7 +12,7 @@ OS_VERSION=${OS_VERSION:-20.04}
|
|||||||
OS_NAME=${OS_NAME:-"focal"}
|
OS_NAME=${OS_NAME:-"focal"}
|
||||||
|
|
||||||
# packages to be installed by default
|
# packages to be installed by default
|
||||||
PACKAGES="systemd iptables init kmod"
|
PACKAGES="systemd coreutils init kmod"
|
||||||
EXTRA_PKGS+=" chrony"
|
EXTRA_PKGS+=" chrony"
|
||||||
|
|
||||||
DEBOOTSTRAP=${PACKAGE_MANAGER:-"debootstrap"}
|
DEBOOTSTRAP=${PACKAGE_MANAGER:-"debootstrap"}
|
||||||
|
Loading…
Reference in New Issue
Block a user