Add e2fsprogs to fedora image (used by one-context to resize fs)

This commit is contained in:
fnux 2019-12-15 14:42:56 +01:00
parent b97d667753
commit 09a05b6a56

View file

@ -125,6 +125,9 @@ curl -L "$ONE_CONTEXT_RPM_URL" > "/mnt$ONE_CONTEXT_RPM_PATH"
run_root dnf -y install "$ONE_CONTEXT_RPM_PATH"
run_root rm "$ONE_CONTEXT_RPM_PATH"
# Install resize2fs, which is required to resize the root file-system.
run_root dnf -y install e2fsprogs
# Initalize base services.
run_root systemd-machine-id-setup
run_root systemctl enable systemd-networkd.service