* Do not commit the .venv file * Fix packer formatting issues * I am, once again, asking to fix the cache path * Fix URI generation for tests * Prevent prompting during Hyper-V tests * Add more waits to hopefully build on GHA * Hyper-V ISO expansion Expand coverage of Hyper-V ISO to all distros except Debian Simplify a few steps in the update/upgrade process for VMs Edit the test script for Windows support * Fix plugin cache path on Mac * Point to the correct mirror URL
21 lines
422 B
Bash
21 lines
422 B
Bash
#!/usr/bin/env bash
|
|
set -ex
|
|
|
|
apt autoremove -y
|
|
|
|
# Configure sshd to be faster
|
|
cat << EOF > /etc/ssh/sshd_config.d/00-vagrant_accept_pubkey.conf
|
|
UseDNS no
|
|
PubkeyAcceptedKeyTypes +ssh-rsa
|
|
EOF
|
|
|
|
# Clean up after ourselves
|
|
apt-get clean
|
|
|
|
virt="$(systemd-detect-virt)"
|
|
if [ "${virt}" == "microsoft" ]; then
|
|
yum install -y hyperv-daemons
|
|
systemctl enable hpervfcopyd
|
|
systemctl enable hypervkvpd
|
|
systemctl enable hypervvssd
|
|
fi |