Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion createdisk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,17 @@ EOF
PRE_DOWNLOADED_ADDITIONAL_PACKAGES+=" qemu-user-static-x86"
fi

# Beyond this point, packages added to the ADDITIONAL_PACKAGES variable won’t be installed in the guest
# install 9pfs binary from COPR repo so that it can be used to
# set up 9p file sharing on Windows
if [ "${SNC_GENERATE_WINDOWS_BUNDLE}" != "0" ]; then
${SSH} core@${VM_IP} -- "sudo dnf -y copr enable mskvarla/9pfs"
${SSH} core@${VM_IP} -- "mkdir -p ~/packages && dnf download --downloadonly --downloaddir ~/packages 9pfs --resolve"
${SSH} core@${VM_IP} -- "sudo dnf -y copr disable mskvarla/9pfs"
PRE_DOWNLOADED_ADDITIONAL_PACKAGES+=" 9pfs"
fi

# Beyond this point, packages added to the ADDITIONAL_PACKAGES and PRE_DOWNLOADED_ADDITIONAL_PACKAGES
# variables won’t be installed in the guest
install_additional_packages ${VM_IP}
copy_systemd_units

Expand Down