--- /dev/null
+#!/usr/bin/expect -f
+
+set timeout -1
+
+#Start the guest VM
+spawn vm /srv/vm/autopkgtest-sid.img -nographic
+
+expect "login: "
+send "root\r"
+
+expect "# "
+send "apt update && apt-get -y -o Dpkg::Options::=--force-confnew dist-upgrade\r"
+
+expect "# "
+send "apt-get --purge -y autoremove && apt-get clean\r"
+
+expect "# "
+send "poweroff\r"
+
+expect "# "
--- /dev/null
+#!/usr/bin/expect -f
+
+set timeout -1
+
+#Start the guest VM
+spawn vm /srv/vm/f25.img -nographic
+
+expect "login: "
+send "a\r"
+
+expect "Password: "
+send "a\r"
+
+expect "$ "
+send "echo a | sudo --stdin dnf update -y\r"
+
+expect "$ "
+send "echo a | sudo --stdin poweroff\r"
+
+expect "$ "