Skip to content

Commit

Permalink
Bump alpine to 3.19 (#1167)
Browse files Browse the repository at this point in the history
* Bump alpine to 3.19

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

* Add networking service to alpine start

Otherwise, the network interfaces will not be brought up:
kubevirt/kubevirt#11256 (comment)

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>

---------

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
  • Loading branch information
akalenyu committed Apr 10, 2024
1 parent 4c6d7c7 commit ef69592
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
Expand Up @@ -22,6 +22,8 @@ sed -Ei \
step 'Enable services'
rc-update add qemu-guest-agent default
rc-update add cloud-init default
rc-update add cloud-init-local default
rc-update add cloud-config default
rc-update add cloud-final default
rc-update add networking default
rc-update add sshd default
Expand Up @@ -22,10 +22,10 @@ fi

docker run --rm --platform=$PLATFORM -v /lib/modules:/lib/modules -v /dev:/dev --privileged -v $(pwd):$(pwd):z alpine ash -c "cd $(pwd) &&
./alpine-make-vm-image \
--image-format qcow2 \
--image-size 200M \
--branch v3.16 \
--packages \"$(cat packages)\" \
--serial-console \
--script-chroot \
$1 -- configure.sh"
--image-format qcow2 \
--image-size 200M \
--branch v3.19 \
--packages \"$(cat packages)\" \
--serial-console \
--script-chroot \
$1 -- configure.sh"
@@ -1,5 +1,6 @@
qemu-guest-agent
cloud-init
py3-netifaces
e2fsprogs-extra
util-linux
iputils
Expand Down

0 comments on commit ef69592

Please sign in to comment.