marcinbojko / hv-packer

Hyper-V Generation 2 Packer Templates for Windows 2019/2022, AlmaLinux 8.x/AlmaLinux 9.x/RockyLinux 8.x/9.x/OracleLinux 8.x/9.x Ubuntu 20.04/Ubuntu 22.04/Ubuntu 24.04
190 stars 74 forks source link

Can't login #12

Closed moosicplexix closed 2 years ago

moosicplexix commented 2 years ago

Hi,

For some reason after my build finishes with ubuntu 20.04.03 and I launch it in Hyper-V, I can't login. I'm using root/password and the password is always wrong. What am I doing wrong? I haven't changed anything except for the ISO.

Thanks

marcinbojko commented 2 years ago

Hi. Which version of the repository are you using? COuld you try to login as ubuntu/password?

moosicplexix commented 2 years ago

1.9.3 - ubuntu/password doesn't work. I will pull again and try from scratch.

I also tried root/password.

marcinbojko commented 2 years ago

I'll publish new version soon - sorry for the trouble, but Ubuntu is not my first choice so it's still experimental

moosicplexix commented 2 years ago

I tried again with a fresh pull and had the same issue. The build completes.

Thanks for looking into it. What linux distro do you recommend?

Here is the debug output from the scripts:

''' hyperv-iso.vm: Unpacking libxrandr2:amd64 (2:1.5.2-0ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package libgtk-3-common. hyperv-iso.vm: Preparing to unpack .../105-libgtk-3-common_3.24.20-0ubuntu1_all.deb ... hyperv-iso.vm: Unpacking libgtk-3-common (3.24.20-0ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package libgtk-3-0:amd64. hyperv-iso.vm: Preparing to unpack .../106-libgtk-3-0_3.24.20-0ubuntu1_amd64.deb ... hyperv-iso.vm: Unpacking libgtk-3-0:amd64 (3.24.20-0ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package libx11-xcb1:amd64. hyperv-iso.vm: Preparing to unpack .../107-libx11-xcb1_2%3a1.6.9-2ubuntu1.2_amd64.deb ... hyperv-iso.vm: Unpacking libx11-xcb1:amd64 (2:1.6.9-2ubuntu1.2) ... hyperv-iso.vm: Selecting previously unselected package firefox. hyperv-iso.vm: Preparing to unpack .../108-firefox_96.0+build2-0ubuntu0.20.04.1_amd64.deb ... hyperv-iso.vm: Unpacking firefox (96.0+build2-0ubuntu0.20.04.1) ... hyperv-iso.vm: Selecting previously unselected package fonts-noto-mono. hyperv-iso.vm: Preparing to unpack .../109-fonts-noto-mono_20200323-1build1~ubuntu20.04.1_all.deb ... hyperv-iso.vm: Unpacking fonts-noto-mono (20200323-1build1~ubuntu20.04.1) ... hyperv-iso.vm: Selecting previously unselected package fonts-urw-base35. hyperv-iso.vm: Preparing to unpack .../110-fonts-urw-base35_20170801.1-3_all.deb ... hyperv-iso.vm: Unpacking fonts-urw-base35 (20170801.1-3) ... hyperv-iso.vm: Selecting previously unselected package libgs9-common. hyperv-iso.vm: Preparing to unpack .../111-libgs9-common_9.50~dfsg-5ubuntu4.5_all.deb ... hyperv-iso.vm: Unpacking libgs9-common (9.50~dfsg-5ubuntu4.5) ... hyperv-iso.vm: Selecting previously unselected package libijs-0.35:amd64. hyperv-iso.vm: Preparing to unpack .../112-libijs-0.35_0.35-15_amd64.deb ... hyperv-iso.vm: Unpacking libijs-0.35:amd64 (0.35-15) ... hyperv-iso.vm: Selecting previously unselected package libjbig2dec0:amd64. hyperv-iso.vm: Preparing to unpack .../113-libjbig2dec0_0.18-1ubuntu1_amd64.deb ... hyperv-iso.vm: Unpacking libjbig2dec0:amd64 (0.18-1ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package libopenjp2-7:amd64. hyperv-iso.vm: Preparing to unpack .../114-libopenjp2-7_2.3.1-1ubuntu4.20.04.1_amd64.deb ... hyperv-iso.vm: Unpacking libopenjp2-7:amd64 (2.3.1-1ubuntu4.20.04.1) ... hyperv-iso.vm: Selecting previously unselected package libpaper1:amd64. hyperv-iso.vm: Preparing to unpack .../115-libpaper1_1.1.28_amd64.deb ... hyperv-iso.vm: Unpacking libpaper1:amd64 (1.1.28) ... hyperv-iso.vm: Selecting previously unselected package libgs9:amd64. hyperv-iso.vm: Preparing to unpack .../116-libgs9_9.50~dfsg-5ubuntu4.5_amd64.deb ... hyperv-iso.vm: Unpacking libgs9:amd64 (9.50~dfsg-5ubuntu4.5) ... hyperv-iso.vm: Selecting previously unselected package ghostscript. hyperv-iso.vm: Preparing to unpack .../117-ghostscript_9.50~dfsg-5ubuntu4.5_amd64.deb ... hyperv-iso.vm: Unpacking ghostscript (9.50~dfsg-5ubuntu4.5) ... hyperv-iso.vm: Selecting previously unselected package libsigc++-2.0-0v5:amd64. hyperv-iso.vm: Preparing to unpack .../118-libsigc++-2.0-0v5_2.10.2-1build1_amd64.deb ... hyperv-iso.vm: Unpacking libsigc++-2.0-0v5:amd64 (2.10.2-1build1) ... hyperv-iso.vm: Selecting previously unselected package libglibmm-2.4-1v5:amd64. hyperv-iso.vm: Preparing to unpack .../119-libglibmm-2.4-1v5_2.64.2-1_amd64.deb ... hyperv-iso.vm: Unpacking libglibmm-2.4-1v5:amd64 (2.64.2-1) ... hyperv-iso.vm: Selecting previously unselected package libatkmm-1.6-1v5:amd64. hyperv-iso.vm: Preparing to unpack .../120-libatkmm-1.6-1v5_2.28.0-2build1_amd64.deb ... hyperv-iso.vm: Unpacking libatkmm-1.6-1v5:amd64 (2.28.0-2build1) ... hyperv-iso.vm: Selecting previously unselected package libcairomm-1.0-1v5:amd64. hyperv-iso.vm: Preparing to unpack .../121-libcairomm-1.0-1v5_1.12.2-4build1_amd64.deb ... hyperv-iso.vm: Unpacking libcairomm-1.0-1v5:amd64 (1.12.2-4build1) ... hyperv-iso.vm: Selecting previously unselected package libpangomm-1.4-1v5:amd64. hyperv-iso.vm: Preparing to unpack .../122-libpangomm-1.4-1v5_2.42.0-2build1_amd64.deb ... hyperv-iso.vm: Unpacking libpangomm-1.4-1v5:amd64 (2.42.0-2build1) ... hyperv-iso.vm: Selecting previously unselected package libgtkmm-3.0-1v5:amd64. hyperv-iso.vm: Preparing to unpack .../123-libgtkmm-3.0-1v5_3.24.2-1build1_amd64.deb ... hyperv-iso.vm: Unpacking libgtkmm-3.0-1v5:amd64 (3.24.2-1build1) ... hyperv-iso.vm: Selecting previously unselected package gparted-common. hyperv-iso.vm: Preparing to unpack .../124-gparted-common_1.0.0-0.1build1_all.deb ... hyperv-iso.vm: Unpacking gparted-common (1.0.0-0.1build1) ... hyperv-iso.vm: Selecting previously unselected package gparted. hyperv-iso.vm: Preparing to unpack .../125-gparted_1.0.0-0.1build1_amd64.deb ... hyperv-iso.vm: Unpacking gparted (1.0.0-0.1build1) ... hyperv-iso.vm: Selecting previously unselected package gsfonts. hyperv-iso.vm: Preparing to unpack .../126-gsfonts_1%3a8.11+urwcyr1.0.7~pre44-4.4_all.deb ... hyperv-iso.vm: Unpacking gsfonts (1:8.11+urwcyr1.0.7~pre44-4.4) ... hyperv-iso.vm: Selecting previously unselected package libibverbs1:amd64. hyperv-iso.vm: Preparing to unpack .../127-libibverbs1_28.0-1ubuntu1_amd64.deb ... hyperv-iso.vm: Unpacking libibverbs1:amd64 (28.0-1ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package ibverbs-providers:amd64. hyperv-iso.vm: Preparing to unpack .../128-ibverbs-providers_28.0-1ubuntu1_amd64.deb ... hyperv-iso.vm: Unpacking ibverbs-providers:amd64 (28.0-1ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package iftop. hyperv-iso.vm: Preparing to unpack .../129-iftop_1.0~pre4-6build1_amd64.deb ... hyperv-iso.vm: Unpacking iftop (1.0~pre4-6build1) ... hyperv-iso.vm: Selecting previously unselected package iotop. hyperv-iso.vm: Preparing to unpack .../130-iotop_0.6-24-g733f3f8-1_amd64.deb ... hyperv-iso.vm: Unpacking iotop (0.6-24-g733f3f8-1) ... hyperv-iso.vm: Selecting previously unselected package javascript-common. hyperv-iso.vm: Preparing to unpack .../131-javascript-common_11_all.deb ... hyperv-iso.vm: Unpacking javascript-common (11) ... hyperv-iso.vm: Selecting previously unselected package libonig5:amd64. hyperv-iso.vm: Preparing to unpack .../132-libonig5_6.9.4-1_amd64.deb ... hyperv-iso.vm: Unpacking libonig5:amd64 (6.9.4-1) ... hyperv-iso.vm: Selecting previously unselected package libjq1:amd64. hyperv-iso.vm: Preparing to unpack .../133-libjq1_1.6-1ubuntu0.20.04.1_amd64.deb ... hyperv-iso.vm: Unpacking libjq1:amd64 (1.6-1ubuntu0.20.04.1) ... hyperv-iso.vm: Selecting previously unselected package jq. hyperv-iso.vm: Preparing to unpack .../134-jq_1.6-1ubuntu0.20.04.1_amd64.deb ... hyperv-iso.vm: Unpacking jq (1.6-1ubuntu0.20.04.1) ... hyperv-iso.vm: Selecting previously unselected package libgssrpc4:amd64. hyperv-iso.vm: Preparing to unpack .../135-libgssrpc4_1.17-6ubuntu4.1_amd64.deb ... hyperv-iso.vm: Unpacking libgssrpc4:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Selecting previously unselected package libkdb5-9:amd64. hyperv-iso.vm: Preparing to unpack .../136-libkdb5-9_1.17-6ubuntu4.1_amd64.deb ... hyperv-iso.vm: Unpacking libkdb5-9:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Selecting previously unselected package libkadm5srv-mit11:amd64. hyperv-iso.vm: Preparing to unpack .../137-libkadm5srv-mit11_1.17-6ubuntu4.1_amd64.deb ... hyperv-iso.vm: Unpacking libkadm5srv-mit11:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Selecting previously unselected package libkadm5clnt-mit11:amd64. hyperv-iso.vm: Preparing to unpack .../138-libkadm5clnt-mit11_1.17-6ubuntu4.1_amd64.deb ... hyperv-iso.vm: Unpacking libkadm5clnt-mit11:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Selecting previously unselected package comerr-dev:amd64. hyperv-iso.vm: Preparing to unpack .../139-comerr-dev_2.1-1.45.5-2ubuntu1_amd64.deb ... hyperv-iso.vm: Unpacking comerr-dev:amd64 (2.1-1.45.5-2ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package krb5-multidev:amd64. hyperv-iso.vm: Preparing to unpack .../140-krb5-multidev_1.17-6ubuntu4.1_amd64.deb ... hyperv-iso.vm: Unpacking krb5-multidev:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Selecting previously unselected package ldap-utils. hyperv-iso.vm: Preparing to unpack .../141-ldap-utils_2.4.49+dfsg-2ubuntu1.8_amd64.deb ... hyperv-iso.vm: Unpacking ldap-utils (2.4.49+dfsg-2ubuntu1.8) ... hyperv-iso.vm: Selecting previously unselected package libblas3:amd64. hyperv-iso.vm: Preparing to unpack .../142-libblas3_3.9.0-1build1_amd64.deb ... hyperv-iso.vm: Unpacking libblas3:amd64 (3.9.0-1build1) ... hyperv-iso.vm: Selecting previously unselected package libboost-iostreams1.71.0:amd64. hyperv-iso.vm: Preparing to unpack .../143-libboost-iostreams1.71.0_1.71.0-6ubuntu6_amd64.deb ... hyperv-iso.vm: Unpacking libboost-iostreams1.71.0:amd64 (1.71.0-6ubuntu6) ... hyperv-iso.vm: Selecting previously unselected package libboost-thread1.71.0:amd64. hyperv-iso.vm: Preparing to unpack .../144-libboost-thread1.71.0_1.71.0-6ubuntu6_amd64.deb ... hyperv-iso.vm: Unpacking libboost-thread1.71.0:amd64 (1.71.0-6ubuntu6) ... hyperv-iso.vm: Selecting previously unselected package librdmacm1:amd64. hyperv-iso.vm: Preparing to unpack .../145-librdmacm1_28.0-1ubuntu1_amd64.deb ... hyperv-iso.vm: Unpacking librdmacm1:amd64 (28.0-1ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package librados2. hyperv-iso.vm: Preparing to unpack .../146-librados2_15.2.14-0ubuntu0.20.04.2_amd64.deb ... hyperv-iso.vm: Unpacking librados2 (15.2.14-0ubuntu0.20.04.2) ... hyperv-iso.vm: Selecting previously unselected package libcephfs2. hyperv-iso.vm: Preparing to unpack .../147-libcephfs2_15.2.14-0ubuntu0.20.04.2_amd64.deb ... hyperv-iso.vm: Unpacking libcephfs2 (15.2.14-0ubuntu0.20.04.2) ... hyperv-iso.vm: Selecting previously unselected package libdbusmenu-glib4:amd64. hyperv-iso.vm: Preparing to unpack .../148-libdbusmenu-glib4_16.04.1+18.10.20180917-0ubuntu6_amd64.deb ... hyperv-iso.vm: Unpacking libdbusmenu-glib4:amd64 (16.04.1+18.10.20180917-0ubuntu6) ... hyperv-iso.vm: Selecting previously unselected package libdbusmenu-gtk3-4:amd64. hyperv-iso.vm: Preparing to unpack .../149-libdbusmenu-gtk3-4_16.04.1+18.10.20180917-0ubuntu6_amd64.deb ... hyperv-iso.vm: Unpacking libdbusmenu-gtk3-4:amd64 (16.04.1+18.10.20180917-0ubuntu6) ... hyperv-iso.vm: Selecting previously unselected package libgdk-pixbuf2.0-bin. hyperv-iso.vm: Preparing to unpack .../150-libgdk-pixbuf2.0-bin_2.40.0+dfsg-3ubuntu0.2_amd64.deb ... hyperv-iso.vm: Unpacking libgdk-pixbuf2.0-bin (2.40.0+dfsg-3ubuntu0.2) ... hyperv-iso.vm: Selecting previously unselected package libgtk-3-bin. hyperv-iso.vm: Preparing to unpack .../151-libgtk-3-bin_3.24.20-0ubuntu1_amd64.deb ... hyperv-iso.vm: Unpacking libgtk-3-bin (3.24.20-0ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package libipset13:amd64. hyperv-iso.vm: Preparing to unpack .../152-libipset13_7.5-1ubuntu0.20.04.1_amd64.deb ... hyperv-iso.vm: Unpacking libipset13:amd64 (7.5-1ubuntu0.20.04.1) ... hyperv-iso.vm: Selecting previously unselected package libjs-jquery. hyperv-iso.vm: Preparing to unpack .../153-libjs-jquery_3.3.1~dfsg-3_all.deb ... hyperv-iso.vm: Unpacking libjs-jquery (3.3.1~dfsg-3) ... hyperv-iso.vm: Selecting previously unselected package liblinear4:amd64. hyperv-iso.vm: Preparing to unpack .../154-liblinear4_2.3.0+dfsg-3build1_amd64.deb ... hyperv-iso.vm: Unpacking liblinear4:amd64 (2.3.0+dfsg-3build1) ... hyperv-iso.vm: Selecting previously unselected package liblua5.3-0:amd64. hyperv-iso.vm: Preparing to unpack .../155-liblua5.3-0_5.3.3-1.1ubuntu2_amd64.deb ... hyperv-iso.vm: Unpacking liblua5.3-0:amd64 (5.3.3-1.1ubuntu2) ... hyperv-iso.vm: Selecting previously unselected package libnfsidmap2:amd64. hyperv-iso.vm: Preparing to unpack .../156-libnfsidmap2_0.25-5.1ubuntu1_amd64.deb ... hyperv-iso.vm: Unpacking libnfsidmap2:amd64 (0.25-5.1ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package libpam-pwquality:amd64. hyperv-iso.vm: Preparing to unpack .../157-libpam-pwquality_1.4.2-1build1_amd64.deb ... hyperv-iso.vm: Unpacking libpam-pwquality:amd64 (1.4.2-1build1) ... hyperv-iso.vm: Selecting previously unselected package libpaper-utils. hyperv-iso.vm: Preparing to unpack .../158-libpaper-utils_1.1.28_amd64.deb ... hyperv-iso.vm: Unpacking libpaper-utils (1.1.28) ... hyperv-iso.vm: Selecting previously unselected package rubygems-integration. hyperv-iso.vm: Preparing to unpack .../159-rubygems-integration_1.16_all.deb ... hyperv-iso.vm: Unpacking rubygems-integration (1.16) ... hyperv-iso.vm: Selecting previously unselected package ruby2.7. hyperv-iso.vm: Preparing to unpack .../160-ruby2.7_2.7.0-5ubuntu1.5_amd64.deb ... hyperv-iso.vm: Unpacking ruby2.7 (2.7.0-5ubuntu1.5) ... hyperv-iso.vm: Selecting previously unselected package ruby. hyperv-iso.vm: Preparing to unpack .../161-ruby_1%3a2.7+1_amd64.deb ... hyperv-iso.vm: Unpacking ruby (1:2.7+1) ... hyperv-iso.vm: Selecting previously unselected package rake. hyperv-iso.vm: Preparing to unpack .../162-rake_13.0.1-4_all.deb ... hyperv-iso.vm: Unpacking rake (13.0.1-4) ... hyperv-iso.vm: Selecting previously unselected package ruby-minitest. hyperv-iso.vm: Preparing to unpack .../163-ruby-minitest_5.13.0-1_all.deb ... hyperv-iso.vm: Unpacking ruby-minitest (5.13.0-1) ... hyperv-iso.vm: Selecting previously unselected package ruby-net-telnet. hyperv-iso.vm: Preparing to unpack .../164-ruby-net-telnet_0.1.1-2_all.deb ... hyperv-iso.vm: Unpacking ruby-net-telnet (0.1.1-2) ... hyperv-iso.vm: Selecting previously unselected package ruby-power-assert. hyperv-iso.vm: Preparing to unpack .../165-ruby-power-assert_1.1.7-1_all.deb ... hyperv-iso.vm: Unpacking ruby-power-assert (1.1.7-1) ... hyperv-iso.vm: Selecting previously unselected package ruby-test-unit. hyperv-iso.vm: Preparing to unpack .../166-ruby-test-unit_3.3.5-1_all.deb ... hyperv-iso.vm: Unpacking ruby-test-unit (3.3.5-1) ... hyperv-iso.vm: Selecting previously unselected package ruby-xmlrpc. hyperv-iso.vm: Preparing to unpack .../167-ruby-xmlrpc_0.3.0-2_all.deb ... hyperv-iso.vm: Unpacking ruby-xmlrpc (0.3.0-2) ... hyperv-iso.vm: Selecting previously unselected package libruby2.7:amd64. hyperv-iso.vm: Preparing to unpack .../168-libruby2.7_2.7.0-5ubuntu1.5_amd64.deb ... hyperv-iso.vm: Unpacking libruby2.7:amd64 (2.7.0-5ubuntu1.5) ... hyperv-iso.vm: Selecting previously unselected package lua-lpeg:amd64. hyperv-iso.vm: Preparing to unpack .../169-lua-lpeg_1.0.2-1_amd64.deb ... hyperv-iso.vm: Unpacking lua-lpeg:amd64 (1.0.2-1) ... hyperv-iso.vm: Selecting previously unselected package multitail. hyperv-iso.vm: Preparing to unpack .../170-multitail_6.4.2-3build2_amd64.deb ... hyperv-iso.vm: Unpacking multitail (6.4.2-3build2) ... hyperv-iso.vm: Selecting previously unselected package ncdu. hyperv-iso.vm: Preparing to unpack .../171-ncdu_1.14.1-1_amd64.deb ... hyperv-iso.vm: Unpacking ncdu (1.14.1-1) ... hyperv-iso.vm: Selecting previously unselected package neofetch. hyperv-iso.vm: Preparing to unpack .../172-neofetch_7.0.0-1_all.deb ... hyperv-iso.vm: Unpacking neofetch (7.0.0-1) ... hyperv-iso.vm: Selecting previously unselected package nmap-common. hyperv-iso.vm: Preparing to unpack .../173-nmap-common_7.80+dfsg1-2build1_all.deb ... hyperv-iso.vm: Unpacking nmap-common (7.80+dfsg1-2build1) ... hyperv-iso.vm: Selecting previously unselected package nmon. hyperv-iso.vm: Preparing to unpack .../174-nmon_16m+debian-1_amd64.deb ... hyperv-iso.vm: Unpacking nmon (16m+debian-1) ... hyperv-iso.vm: Selecting previously unselected package oddjob. hyperv-iso.vm: Preparing to unpack .../175-oddjob_0.34.4-1_amd64.deb ... hyperv-iso.vm: Unpacking oddjob (0.34.4-1) ... hyperv-iso.vm: Selecting previously unselected package oddjob-mkhomedir. hyperv-iso.vm: Preparing to unpack .../176-oddjob-mkhomedir_0.34.4-1_amd64.deb ... hyperv-iso.vm: Unpacking oddjob-mkhomedir (0.34.4-1) ... hyperv-iso.vm: Selecting previously unselected package python3-gpg. hyperv-iso.vm: Preparing to unpack .../177-python3-gpg_1.13.1-7ubuntu2_amd64.deb ... hyperv-iso.vm: Unpacking python3-gpg (1.13.1-7ubuntu2) ... hyperv-iso.vm: Selecting previously unselected package python3-pyparsing. hyperv-iso.vm: Preparing to unpack .../178-python3-pyparsing_2.4.6-1_all.deb ... hyperv-iso.vm: Unpacking python3-pyparsing (2.4.6-1) ... hyperv-iso.vm: Selecting previously unselected package python3-packaging. hyperv-iso.vm: Preparing to unpack .../179-python3-packaging_20.3-1_all.deb ... hyperv-iso.vm: Unpacking python3-packaging (20.3-1) ... hyperv-iso.vm: Selecting previously unselected package python3-markdown. hyperv-iso.vm: Preparing to unpack .../180-python3-markdown_3.1.1-3_all.deb ... hyperv-iso.vm: Unpacking python3-markdown (3.1.1-3) ... hyperv-iso.vm: Selecting previously unselected package python3-pygments. hyperv-iso.vm: Preparing to unpack .../181-python3-pygments_2.3.1+dfsg-1ubuntu2.2_all.deb ... hyperv-iso.vm: Unpacking python3-pygments (2.3.1+dfsg-1ubuntu2.2) ... hyperv-iso.vm: Selecting previously unselected package realmd. hyperv-iso.vm: Preparing to unpack .../182-realmd_0.16.3-3_amd64.deb ... hyperv-iso.vm: Unpacking realmd (0.16.3-3) ... hyperv-iso.vm: Selecting previously unselected package samba-dsdb-modules:amd64. hyperv-iso.vm: Preparing to unpack .../183-samba-dsdb-modules_2%3a4.13.14+dfsg-0ubuntu0.20.04.4_amd64.deb ... hyperv-iso.vm: Unpacking samba-dsdb-modules:amd64 (2:4.13.14+dfsg-0ubuntu0.20.04.4) ... hyperv-iso.vm: Selecting previously unselected package samba-vfs-modules:amd64. hyperv-iso.vm: Preparing to unpack .../184-samba-vfs-modules_2%3a4.13.14+dfsg-0ubuntu0.20.04.4_amd64.deb ... hyperv-iso.vm: Unpacking samba-vfs-modules:amd64 (2:4.13.14+dfsg-0ubuntu0.20.04.4) ... hyperv-iso.vm: Selecting previously unselected package smartmontools. hyperv-iso.vm: Preparing to unpack .../185-smartmontools_7.1-1build1_amd64.deb ... hyperv-iso.vm: Unpacking smartmontools (7.1-1build1) ... hyperv-iso.vm: Selecting previously unselected package xul-ext-ubufox. hyperv-iso.vm: Preparing to unpack .../186-xul-ext-ubufox_3.4-0ubuntu1.17.10.1_all.deb ... hyperv-iso.vm: Unpacking xul-ext-ubufox (3.4-0ubuntu1.17.10.1) ... hyperv-iso.vm: Selecting previously unselected package zip. hyperv-iso.vm: Preparing to unpack .../187-zip_3.0-11build1_amd64.deb ... hyperv-iso.vm: Unpacking zip (3.0-11build1) ... hyperv-iso.vm: Selecting previously unselected package zsh-common. hyperv-iso.vm: Preparing to unpack .../188-zsh-common_5.8-3ubuntu1_all.deb ... hyperv-iso.vm: Unpacking zsh-common (5.8-3ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package zsh. hyperv-iso.vm: Preparing to unpack .../189-zsh_5.8-3ubuntu1_amd64.deb ... hyperv-iso.vm: Unpacking zsh (5.8-3ubuntu1) ... hyperv-iso.vm: Selecting previously unselected package httpie. hyperv-iso.vm: Preparing to unpack .../190-httpie_1.0.3-2_all.deb ... hyperv-iso.vm: Unpacking httpie (1.0.3-2) ... hyperv-iso.vm: Selecting previously unselected package ipset. hyperv-iso.vm: Preparing to unpack .../191-ipset_7.5-1ubuntu0.20.04.1_amd64.deb ... hyperv-iso.vm: Unpacking ipset (7.5-1ubuntu0.20.04.1) ... hyperv-iso.vm: Selecting previously unselected package libbasicobjects0:amd64. hyperv-iso.vm: Preparing to unpack .../192-libbasicobjects0_0.6.1-2_amd64.deb ... hyperv-iso.vm: Unpacking libbasicobjects0:amd64 (0.6.1-2) ... hyperv-iso.vm: Selecting previously unselected package libc-ares2:amd64. hyperv-iso.vm: Preparing to unpack .../193-libc-ares2_1.15.0-1ubuntu0.1_amd64.deb ... hyperv-iso.vm: Unpacking libc-ares2:amd64 (1.15.0-1ubuntu0.1) ... hyperv-iso.vm: Selecting previously unselected package libcollection4:amd64. hyperv-iso.vm: Preparing to unpack .../194-libcollection4_0.6.1-2_amd64.deb ... hyperv-iso.vm: Unpacking libcollection4:amd64 (0.6.1-2) ... hyperv-iso.vm: Selecting previously unselected package libdhash1:amd64. hyperv-iso.vm: Preparing to unpack .../195-libdhash1_0.6.1-2_amd64.deb ... hyperv-iso.vm: Unpacking libdhash1:amd64 (0.6.1-2) ... hyperv-iso.vm: Selecting previously unselected package libpath-utils1:amd64. hyperv-iso.vm: Preparing to unpack .../196-libpath-utils1_0.6.1-2_amd64.deb ... hyperv-iso.vm: Unpacking libpath-utils1:amd64 (0.6.1-2) ... hyperv-iso.vm: Selecting previously unselected package libref-array1:amd64. hyperv-iso.vm: Preparing to unpack .../197-libref-array1_0.6.1-2_amd64.deb ... hyperv-iso.vm: Unpacking libref-array1:amd64 (0.6.1-2) ... hyperv-iso.vm: Selecting previously unselected package libini-config5:amd64. hyperv-iso.vm: Preparing to unpack .../198-libini-config5_0.6.1-2_amd64.deb ... hyperv-iso.vm: Unpacking libini-config5:amd64 (0.6.1-2) ... hyperv-iso.vm: Selecting previously unselected package libipa-hbac0. hyperv-iso.vm: Preparing to unpack .../199-libipa-hbac0_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking libipa-hbac0 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package libkrb5-dev:amd64. hyperv-iso.vm: Preparing to unpack .../200-libkrb5-dev_1.17-6ubuntu4.1_amd64.deb ... hyperv-iso.vm: Unpacking libkrb5-dev:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Selecting previously unselected package libnss-sss:amd64. hyperv-iso.vm: Preparing to unpack .../201-libnss-sss_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking libnss-sss:amd64 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package libpam-sss:amd64. hyperv-iso.vm: Preparing to unpack .../202-libpam-sss_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking libpam-sss:amd64 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package libsss-certmap0. hyperv-iso.vm: Preparing to unpack .../203-libsss-certmap0_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking libsss-certmap0 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package libsss-idmap0. hyperv-iso.vm: Preparing to unpack .../204-libsss-idmap0_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking libsss-idmap0 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package libsss-nss-idmap0. hyperv-iso.vm: Preparing to unpack .../205-libsss-nss-idmap0_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking libsss-nss-idmap0 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package libsss-sudo. hyperv-iso.vm: Preparing to unpack .../206-libsss-sudo_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking libsss-sudo (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package libwbclient-sssd. hyperv-iso.vm: Preparing to unpack .../207-libwbclient-sssd_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking libwbclient-sssd (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package nmap. hyperv-iso.vm: Preparing to unpack .../208-nmap_7.80+dfsg1-2build1_amd64.deb ... hyperv-iso.vm: Unpacking nmap (7.80+dfsg1-2build1) ... hyperv-iso.vm: Selecting previously unselected package python3-sss. hyperv-iso.vm: Preparing to unpack .../209-python3-sss_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking python3-sss (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package sssd-common. hyperv-iso.vm: Preparing to unpack .../210-sssd-common_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking sssd-common (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package sssd-ad-common. hyperv-iso.vm: Preparing to unpack .../211-sssd-ad-common_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking sssd-ad-common (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package sssd-krb5-common. hyperv-iso.vm: Preparing to unpack .../212-sssd-krb5-common_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking sssd-krb5-common (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package sssd-ad. hyperv-iso.vm: Preparing to unpack .../213-sssd-ad_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking sssd-ad (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package sssd-ipa. hyperv-iso.vm: Preparing to unpack .../214-sssd-ipa_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking sssd-ipa (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package sssd-krb5. hyperv-iso.vm: Preparing to unpack .../215-sssd-krb5_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking sssd-krb5 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package sssd-ldap. hyperv-iso.vm: Preparing to unpack .../216-sssd-ldap_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking sssd-ldap (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package sssd-proxy. hyperv-iso.vm: Preparing to unpack .../217-sssd-proxy_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking sssd-proxy (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package sssd. hyperv-iso.vm: Preparing to unpack .../218-sssd_2.2.3-3ubuntu0.8_amd64.deb ... hyperv-iso.vm: Unpacking sssd (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Selecting previously unselected package unhide. hyperv-iso.vm: Preparing to unpack .../219-unhide_20130526-4_amd64.deb ... hyperv-iso.vm: Unpacking unhide (20130526-4) ... hyperv-iso.vm: Selecting previously unselected package unhide.rb. hyperv-iso.vm: Preparing to unpack .../220-unhide.rb_22-4all.deb ... hyperv-iso.vm: Unpacking unhide.rb (22-4) ... hyperv-iso.vm: Setting up smartmontools (7.1-1build1) ... hyperv-iso.vm: Created symlink /etc/systemd/system/smartd.service → /lib/systemd/system/smartmontools.service. hyperv-iso.vm: Created symlink /etc/systemd/system/multi-user.target.wants/smartmontools.service → /lib/systemd/system/smartmontools.service. hyperv-iso.vm: Setting up ncdu (1.14.1-1) ... hyperv-iso.vm: Setting up javascript-common (11) ... hyperv-iso.vm: Setting up libgraphite2-3:amd64 (1.3.13-11build1) ... hyperv-iso.vm: Setting up liblcms2-2:amd64 (2.9-4) ... hyperv-iso.vm: Setting up libpixman-1-0:amd64 (0.38.4-0ubuntu1) ... hyperv-iso.vm: Setting up libpaper1:amd64 (1.1.28) ... hyperv-iso.vm: hyperv-iso.vm: Creating config file /etc/papersize with new version hyperv-iso.vm: Setting up libx11-xcb1:amd64 (2:1.6.9-2ubuntu1.2) ... hyperv-iso.vm: Setting up libibverbs1:amd64 (28.0-1ubuntu1) ... hyperv-iso.vm: Setting up libpath-utils1:amd64 (0.6.1-2) ... hyperv-iso.vm: Setting up imagemagick-6-common (8:6.9.10.23+dfsg-2.1ubuntu11.4) ... hyperv-iso.vm: Setting up oddjob (0.34.4-1) ... hyperv-iso.vm: Created symlink /etc/systemd/system/multi-user.target.wants/oddjobd.service → /lib/systemd/system/oddjobd.service. hyperv-iso.vm: Setting up lua-lpeg:amd64 (1.0.2-1) ... hyperv-iso.vm: Setting up libnftables1:amd64 (0.9.3-2) ... hyperv-iso.vm: Setting up fonts-lato (2.0-2) ... hyperv-iso.vm: Setting up libxdamage1:amd64 (1:1.1.5-2) ... hyperv-iso.vm: Setting up libsss-idmap0 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up liblockfile-bin (1.16-1.1) ... hyperv-iso.vm: Setting up libbasicobjects0:amd64 (0.6.1-2) ... hyperv-iso.vm: Setting up fonts-noto-mono (20200323-1build1~ubuntu20.04.1) ... hyperv-iso.vm: Setting up oddjob-mkhomedir (0.34.4-1) ... hyperv-iso.vm: Setting up realmd (0.16.3-3) ... hyperv-iso.vm: realmd.service is a disabled or a static unit, not starting it. hyperv-iso.vm: Setting up hicolor-icon-theme (0.17-2) ... hyperv-iso.vm: Setting up libxi6:amd64 (2:1.7.10-0ubuntu1) ... hyperv-iso.vm: Setting up libxrender1:amd64 (1:0.9.10-1) ... hyperv-iso.vm: Setting up libdatrie1:amd64 (0.2.12-3) ... hyperv-iso.vm: Setting up ibverbs-providers:amd64 (28.0-1ubuntu1) ... hyperv-iso.vm: Setting up ruby-power-assert (1.1.7-1) ... hyperv-iso.vm: Setting up libsss-sudo (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Checking NSS setup... hyperv-iso.vm: Setting up zsh-common (5.8-3ubuntu1) ... hyperv-iso.vm: Setting up libxcb-render0:amd64 (1.14-2) ... hyperv-iso.vm: Setting up attr (1:2.4.48-5) ... hyperv-iso.vm: Setting up libijs-0.35:amd64 (0.35-15) ... hyperv-iso.vm: Setting up libdbusmenu-glib4:amd64 (16.04.1+18.10.20180917-0ubuntu6) ... hyperv-iso.vm: Setting up iftop (1.0~pre4-6build1) ... hyperv-iso.vm: Setting up libgdk-pixbuf2.0-common (2.40.0+dfsg-3ubuntu0.2) ... hyperv-iso.vm: Setting up libpam-pwquality:amd64 (1.4.2-1build1) ... hyperv-iso.vm: Setting up x11-common (1:7.7+19ubuntu14) ... hyperv-iso.vm: update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults hyperv-iso.vm: Setting up atop (2.4.0-3) ... hyperv-iso.vm: ls: cannot access '/var/log/atop/atop*': No such file or directory hyperv-iso.vm: Created symlink /etc/systemd/system/multi-user.target.wants/atop.service → /lib/systemd/system/atop.service. hyperv-iso.vm: Created symlink /etc/systemd/system/multi-user.target.wants/atopacct.service → /lib/systemd/system/atopacct.service. hyperv-iso.vm: Setting up rubygems-integration (1.16) ... hyperv-iso.vm: Setting up libxcb-shm0:amd64 (1.14-2) ... hyperv-iso.vm: Setting up libc-ares2:amd64 (1.15.0-1ubuntu0.1) ... hyperv-iso.vm: Setting up libpaper-utils (1.1.28) ... hyperv-iso.vm: Setting up samba-common (2:4.13.14+dfsg-0ubuntu0.20.04.4) ... hyperv-iso.vm: hyperv-iso.vm: Creating config file /etc/samba/smb.conf with new version hyperv-iso.vm: Setting up libatspi2.0-0:amd64 (2.36.0-2) ... hyperv-iso.vm: Setting up fonts-urw-base35 (20170801.1-3) ... hyperv-iso.vm: Setting up ldap-utils (2.4.49+dfsg-2ubuntu1.8) ... hyperv-iso.vm: Setting up libboost-iostreams1.71.0:amd64 (1.71.0-6ubuntu6) ... hyperv-iso.vm: Setting up libjbig0:amd64 (2.1-3.1build1) ... hyperv-iso.vm: Setting up libcolord2:amd64 (1.4.4-2) ... hyperv-iso.vm: Setting up neofetch (7.0.0-1) ... hyperv-iso.vm: Setting up gparted-common (1.0.0-0.1build1) ... hyperv-iso.vm: Setting up poppler-data (0.4.9-2) ... hyperv-iso.vm: Setting up libchafa0:amd64 (1.2.1-1) ... hyperv-iso.vm: Setting up unhide (20130526-4) ... hyperv-iso.vm: Setting up libtalloc2:amd64 (2.3.1-0ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up ruby-minitest (5.13.0-1) ... hyperv-iso.vm: Setting up libgssrpc4:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Setting up nmon (16m+debian-1) ... hyperv-iso.vm: Setting up python3-tdb (1.4.3-0ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up python3-decorator (4.4.2-0ubuntu1) ... hyperv-iso.vm: Setting up zip (3.0-11build1) ... hyperv-iso.vm: Setting up iotop (0.6-24-g733f3f8-1) ... hyperv-iso.vm: Setting up python3-pygments (2.3.1+dfsg-1ubuntu2.2) ... hyperv-iso.vm: Setting up libblas3:amd64 (3.9.0-1build1) ... hyperv-iso.vm: update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode hyperv-iso.vm: Setting up libdhash1:amd64 (0.6.1-2) ... hyperv-iso.vm: Setting up libtevent0:amd64 (0.10.2-0ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up python3-pyparsing (2.4.6-1) ... hyperv-iso.vm: Setting up python3-gpg (1.13.1-7ubuntu2) ... hyperv-iso.vm: Setting up ruby-test-unit (3.3.5-1) ... hyperv-iso.vm: Setting up libepoxy0:amd64 (1.5.4-1) ... hyperv-iso.vm: Setting up ssl-cert (1.0.39) ... hyperv-iso.vm: Setting up libxfixes3:amd64 (1:5.0.3-2) ... hyperv-iso.vm: Setting up libjbig2dec0:amd64 (0.18-1ubuntu1) ... hyperv-iso.vm: Setting up libsigc++-2.0-0v5:amd64 (2.10.2-1build1) ... hyperv-iso.vm: Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.4) ... hyperv-iso.vm: Setting up libavahi-common-data:amd64 (0.7-4ubuntu7.1) ... hyperv-iso.vm: Setting up tdb-tools (1.4.3-0ubuntu0.20.04.1) ... hyperv-iso.vm: update-alternatives: using /usr/bin/tdbbackup.tdbtools to provide /usr/bin/tdbbackup (tdbbackup) in auto mode hyperv-iso.vm: Setting up ruby-net-telnet (0.1.1-2) ... hyperv-iso.vm: Setting up libxinerama1:amd64 (2:1.1.4-2) ... hyperv-iso.vm: Setting up httpie (1.0.3-2) ... hyperv-iso.vm: Setting up comerr-dev:amd64 (2.1-1.45.5-2ubuntu1) ... hyperv-iso.vm: Setting up libxrandr2:amd64 (2:1.5.2-0ubuntu1) ... hyperv-iso.vm: Setting up libwebp6:amd64 (0.6.1-2ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up fonts-dejavu-core (2.37-1) ... hyperv-iso.vm: Setting up libjpeg-turbo8:amd64 (2.0.3-0ubuntu1.20.04.1) ... hyperv-iso.vm: Setting up libfftw3-double3:amd64 (3.3.8-2ubuntu1) ... hyperv-iso.vm: Setting up libcollection4:amd64 (0.6.1-2) ... hyperv-iso.vm: Setting up postfix (3.4.13-0ubuntu1.2) ... hyperv-iso.vm: Adding group postfix' (GID 121) ... hyperv-iso.vm: Done. hyperv-iso.vm: Adding system userpostfix' (UID 116) ... hyperv-iso.vm: Adding new user postfix' (UID 116) with grouppostfix' ... hyperv-iso.vm: Not creating home directory /var/spool/postfix'. hyperv-iso.vm: Creating /etc/postfix/dynamicmaps.cf hyperv-iso.vm: Adding grouppostdrop' (GID 122) ... hyperv-iso.vm: Done. hyperv-iso.vm: postconf: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol hyperv-iso.vm: postconf: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol hyperv-iso.vm: postconf: warning: inet_protocols: disabling IPv6 name/address support: Address family not supported by protocol hyperv-iso.vm: setting myhostname: ubuntu2004.lisalovesbeau.com hyperv-iso.vm: setting alias maps hyperv-iso.vm: setting alias database hyperv-iso.vm: mailname is not a fully qualified domain name. Not changing /etc/mailname. hyperv-iso.vm: setting destinations: $myhostname, ubuntu2004, localhost.localdomain, , localhost hyperv-iso.vm: setting relayhost: hyperv-iso.vm: setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 hyperv-iso.vm: setting mailbox_size_limit: 0 hyperv-iso.vm: setting recipient_delimiter: + hyperv-iso.vm: setting inet_interfaces: all hyperv-iso.vm: setting inet_protocols: ipv4 hyperv-iso.vm: /etc/aliases does not exist, creating it. hyperv-iso.vm: WARNING: /etc/aliases exists, but does not have a root alias. hyperv-iso.vm: hyperv-iso.vm: Postfix (main.cf) is now set up with a default configuration. If you need to hyperv-iso.vm: make changes, edit /etc/postfix/main.cf (and others) as needed. To view hyperv-iso.vm: Postfix configuration values, see postconf(1). hyperv-iso.vm: hyperv-iso.vm: After modifying main.cf, be sure to run 'systemctl reload postfix'. hyperv-iso.vm: hyperv-iso.vm: Running newaliases hyperv-iso.vm: Created symlink /etc/systemd/system/multi-user.target.wants/postfix.service → /lib/systemd/system/postfix.service. hyperv-iso.vm: Setting up libatk1.0-data (2.35.1-1ubuntu2) ... hyperv-iso.vm: Setting up nmap-common (7.80+dfsg1-2build1) ... hyperv-iso.vm: Setting up libipset13:amd64 (7.5-1ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up liblqr-1-0:amd64 (0.4.2-2.1) ... hyperv-iso.vm: Setting up libipa-hbac0 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up libkdb5-9:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Setting up python3-dnspython (1.16.0-1build1) ... hyperv-iso.vm: Setting up liblua5.3-0:amd64 (5.3.3-1.1ubuntu2) ... hyperv-iso.vm: Setting up multitail (6.4.2-3build2) ... hyperv-iso.vm: Setting up libboost-thread1.71.0:amd64 (1.71.0-6ubuntu6) ... hyperv-iso.vm: Setting up python3-selinux (3.0-1build2) ... hyperv-iso.vm: Setting up libopenjp2-7:amd64 (2.3.1-1ubuntu4.20.04.1) ... hyperv-iso.vm: Setting up python3-crypto (2.6.1-13ubuntu2) ... hyperv-iso.vm: Setting up libharfbuzz0b:amd64 (2.6.4-1ubuntu4) ... hyperv-iso.vm: Setting up libthai-data (0.1.28-3) ... hyperv-iso.vm: Setting up libref-array1:amd64 (0.6.1-2) ... hyperv-iso.vm: Setting up libatk1.0-0:amd64 (2.35.1-1ubuntu2) ... hyperv-iso.vm: Setting up liblockfile1:amd64 (1.16-1.1) ... hyperv-iso.vm: Setting up fonts-droid-fallback (1:6.0.1r16-1.1) ... hyperv-iso.vm: Setting up libwayland-egl1:amd64 (1.18.0-1) ... hyperv-iso.vm: Setting up xul-ext-ubufox (3.4-0ubuntu1.17.10.1) ... hyperv-iso.vm: Setting up zsh (5.8-3ubuntu1) ... hyperv-iso.vm: Setting up libkadm5srv-mit11:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Setting up libjs-jquery (3.3.1~dfsg-3) ... hyperv-iso.vm: Setting up gir1.2-nm-1.0:amd64 (1.22.10-1ubuntu2.2) ... hyperv-iso.vm: Setting up libsoup-gnome2.4-1:amd64 (2.70.0-1) ... hyperv-iso.vm: Setting up ipset (7.5-1ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up libnfsidmap2:amd64 (0.25-5.1ubuntu1) ... hyperv-iso.vm: Setting up libldb2:amd64 (2:2.2.3-0ubuntu0.20.04.2) ... hyperv-iso.vm: Setting up libwebpmux3:amd64 (0.6.1-2ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up libsss-nss-idmap0 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up libsasl2-modules-gssapi-mit:amd64 (2.1.27+dfsg-2) ... hyperv-iso.vm: Setting up python3-nftables (0.9.3-2) ... hyperv-iso.vm: Setting up libxcomposite1:amd64 (1:0.4.5-1) ... hyperv-iso.vm: Setting up libpam-sss:amd64 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up ruby-xmlrpc (0.3.0-2) ... hyperv-iso.vm: Setting up libwbclient-sssd (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up libonig5:amd64 (6.9.4-1) ... hyperv-iso.vm: Setting up libgtk-3-common (3.24.20-0ubuntu1) ... hyperv-iso.vm: Setting up rkhunter (1.4.6-8) ... hyperv-iso.vm: hyperv-iso.vm: Creating config file /etc/default/rkhunter with new version hyperv-iso.vm: [ Rootkit Hunter version 1.4.6 ] hyperv-iso.vm: File created: searched for 179 files, found 140 hyperv-iso.vm: Setting up libnss-sss:amd64 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: First installation detected... hyperv-iso.vm: Checking NSS setup... hyperv-iso.vm: Adding an entry for automount. hyperv-iso.vm: Setting up libxkbcommon0:amd64 (0.10.0-1) ... hyperv-iso.vm: Setting up libwayland-client0:amd64 (1.18.0-1) ... hyperv-iso.vm: Setting up libjpeg8:amd64 (8c-2ubuntu8) ... hyperv-iso.vm: Setting up libgs9-common (9.50~dfsg-5ubuntu4.5) ... hyperv-iso.vm: Setting up librdmacm1:amd64 (28.0-1ubuntu1) ... hyperv-iso.vm: Setting up libglibmm-2.4-1v5:amd64 (2.64.2-1) ... hyperv-iso.vm: Setting up libkadm5clnt-mit11:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Setting up librest-0.7-0:amd64 (0.8.1-1) ... hyperv-iso.vm: Setting up librados2 (15.2.14-0ubuntu0.20.04.2) ... hyperv-iso.vm: Setting up python3-talloc:amd64 (2.3.1-0ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up libjq1:amd64 (1.6-1ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up fontconfig-config (2.13.1-2ubuntu3) ... hyperv-iso.vm: Setting up libxtst6:amd64 (2:1.2.3-1) ... hyperv-iso.vm: Setting up libini-config5:amd64 (0.6.1-2) ... hyperv-iso.vm: Setting up adcli (0.9.0-1ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up libxcursor1:amd64 (1:1.2.0-2) ... hyperv-iso.vm: Setting up libavahi-common3:amd64 (0.7-4ubuntu7.1) ... hyperv-iso.vm: Setting up python3-sss (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up libwbclient0:amd64 (2:4.13.14+dfsg-0ubuntu0.20.04.4) ... hyperv-iso.vm: Setting up libsss-certmap0 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up liblinear4:amd64 (2.3.0+dfsg-3build1) ... hyperv-iso.vm: Setting up libcephfs2 (15.2.14-0ubuntu0.20.04.2) ... hyperv-iso.vm: Setting up libatk-bridge2.0-0:amd64 (2.34.2-0ubuntu2~20.04.1) ... hyperv-iso.vm: Setting up libthai0:amd64 (0.1.28-3) ... hyperv-iso.vm: Setting up python3-packaging (20.3-1) ... hyperv-iso.vm: Setting up bsd-mailx (8.1.2-0.20180807cvs-1) ... hyperv-iso.vm: update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode hyperv-iso.vm: Setting up python3-ldb (2:2.2.3-0ubuntu0.20.04.2) ... hyperv-iso.vm: Setting up python3-markdown (3.1.1-3) ... hyperv-iso.vm: Setting up python3-slip (0.6.5-2) ... hyperv-iso.vm: Setting up at-spi2-core (2.36.0-2) ... hyperv-iso.vm: Setting up libwayland-cursor0:amd64 (1.18.0-1) ... hyperv-iso.vm: Setting up jq (1.6-1ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up libtiff5:amd64 (4.1.0+git191117-2ubuntu0.20.04.2) ... hyperv-iso.vm: Setting up libfontconfig1:amd64 (2.13.1-2ubuntu3) ... hyperv-iso.vm: Setting up libatkmm-1.6-1v5:amd64 (2.28.0-2build1) ... hyperv-iso.vm: Setting up libavahi-client3:amd64 (0.7-4ubuntu7.1) ... hyperv-iso.vm: Setting up krb5-multidev:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Setting up fontconfig (2.13.1-2ubuntu3) ... hyperv-iso.vm: Regenerating fonts cache... done. hyperv-iso.vm: Setting up libpango-1.0-0:amd64 (1.44.7-2ubuntu4) ... hyperv-iso.vm: Setting up sssd-common (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Creating SSSD system user & group... hyperv-iso.vm: adduser: Warning: The home directory /var/lib/sss' does not belong to the user you are currently creating. hyperv-iso.vm: Warning: found usr.sbin.sssd in /etc/apparmor.d/force-complain, forcing complain mode hyperv-iso.vm: Warning from /etc/apparmor.d/usr.sbin.sssd (/etc/apparmor.d/usr.sbin.sssd line 59): Warning failed to create cache: usr.sbin.sssd hyperv-iso.vm: Created symlink /etc/systemd/system/sssd.service.wants/sssd-autofs.socket → /lib/systemd/system/sssd-autofs.socket. hyperv-iso.vm: Created symlink /etc/systemd/system/sssd.service.wants/sssd-nss.socket → /lib/systemd/system/sssd-nss.socket. hyperv-iso.vm: Created symlink /etc/systemd/system/sssd.service.wants/sssd-pam-priv.socket → /lib/systemd/system/sssd-pam-priv.socket. hyperv-iso.vm: Created symlink /etc/systemd/system/sssd.service.wants/sssd-pam.socket → /lib/systemd/system/sssd-pam.socket. hyperv-iso.vm: Created symlink /etc/systemd/system/sssd.service.wants/sssd-ssh.socket → /lib/systemd/system/sssd-ssh.socket. hyperv-iso.vm: Created symlink /etc/systemd/system/sssd.service.wants/sssd-sudo.socket → /lib/systemd/system/sssd-sudo.socket. hyperv-iso.vm: Created symlink /etc/systemd/system/multi-user.target.wants/sssd.service → /lib/systemd/system/sssd.service. hyperv-iso.vm: sssd-autofs.service is a disabled or a static unit, not starting it. hyperv-iso.vm: sssd-nss.service is a disabled or a static unit, not starting it. hyperv-iso.vm: sssd-pam.service is a disabled or a static unit, not starting it. hyperv-iso.vm: sssd-ssh.service is a disabled or a static unit, not starting it. hyperv-iso.vm: sssd-sudo.service is a disabled or a static unit, not starting it. hyperv-iso.vm: A dependency job for sssd-nss.socket failed. See 'journalctl -xe' for details. hyperv-iso.vm: A dependency job for sssd-autofs.socket failed. See 'journalctl -xe' for details. hyperv-iso.vm: A dependency job for sssd-pam-priv.socket failed. See 'journalctl -xe' for details. hyperv-iso.vm: A dependency job for sssd-pam.socket failed. See 'journalctl -xe' for details. hyperv-iso.vm: A dependency job for sssd-ssh.socket failed. See 'journalctl -xe' for details. hyperv-iso.vm: A dependency job for sssd-sudo.socket failed. See 'journalctl -xe' for details. hyperv-iso.vm: Setting up sssd-proxy (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up nmap (7.80+dfsg1-2build1) ... hyperv-iso.vm: Setting up libcairo2:amd64 (1.16.0-4ubuntu1) ... hyperv-iso.vm: Setting up libcairomm-1.0-1v5:amd64 (1.12.2-4build1) ... hyperv-iso.vm: Setting up libkrb5-dev:amd64 (1.17-6ubuntu4.1) ... hyperv-iso.vm: Setting up libmagickcore-6.q16-6:amd64 (8:6.9.10.23+dfsg-2.1ubuntu11.4) ... hyperv-iso.vm: Setting up python3-slip-dbus (0.6.5-2) ... hyperv-iso.vm: Setting up sssd-krb5-common (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up libgdk-pixbuf2.0-0:amd64 (2.40.0+dfsg-3ubuntu0.2) ... hyperv-iso.vm: Setting up libcups2:amd64 (2.3.1-9ubuntu1.1) ... hyperv-iso.vm: Setting up libgdk-pixbuf2.0-bin (2.40.0+dfsg-3ubuntu0.2) ... hyperv-iso.vm: Setting up sssd-krb5 (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up libmagickwand-6.q16-6:amd64 (8:6.9.10.23+dfsg-2.1ubuntu11.4) ... hyperv-iso.vm: Setting up libcairo-gobject2:amd64 (1.16.0-4ubuntu1) ... hyperv-iso.vm: Setting up libpangoft2-1.0-0:amd64 (1.44.7-2ubuntu4) ... hyperv-iso.vm: Setting up sssd-ldap (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up libpangocairo-1.0-0:amd64 (1.44.7-2ubuntu4) ... hyperv-iso.vm: Setting up gtk-update-icon-cache (3.24.20-0ubuntu1) ... hyperv-iso.vm: Setting up libdbusmenu-gtk3-4:amd64 (16.04.1+18.10.20180917-0ubuntu6) ... hyperv-iso.vm: Setting up libgs9:amd64 (9.50~dfsg-5ubuntu4.5) ... hyperv-iso.vm: Setting up chafa (1.2.1-1) ... hyperv-iso.vm: Setting up samba-libs:amd64 (2:4.13.14+dfsg-0ubuntu0.20.04.4) ... hyperv-iso.vm: Setting up ghostscript (9.50~dfsg-5ubuntu4.5) ... hyperv-iso.vm: Setting up python3-firewall (0.8.2-1) ... hyperv-iso.vm: Setting up librsvg2-2:amd64 (2.48.9-1ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up sssd-ad-common (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Created symlink /etc/systemd/system/sssd.service.wants/sssd-pac.socket → /lib/systemd/system/sssd-pac.socket. hyperv-iso.vm: sssd-pac.service is a disabled or a static unit, not starting it. hyperv-iso.vm: A dependency job for sssd-pac.socket failed. See 'journalctl -xe' for details. hyperv-iso.vm: Setting up librsvg2-common:amd64 (2.48.9-1ubuntu0.20.04.1) ... hyperv-iso.vm: Setting up libpangomm-1.4-1v5:amd64 (2.42.0-2build1) ... hyperv-iso.vm: Setting up libsmbclient:amd64 (2:4.13.14+dfsg-0ubuntu0.20.04.4) ... hyperv-iso.vm: Setting up samba-dsdb-modules:amd64 (2:4.13.14+dfsg-0ubuntu0.20.04.4) ... hyperv-iso.vm: Setting up python3-samba (2:4.13.14+dfsg-0ubuntu0.20.04.4) ... hyperv-iso.vm: Setting up sssd-ad (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up firewalld (0.8.2-1) ... hyperv-iso.vm: update-alternatives: using /usr/share/polkit-1/actions/org.fedoraproject.FirewallD1.server.policy.choice to provide /usr/share/polkit-1/actions/org.fedoraproject.FirewallD1.policy (org.fedoraproject.FirewallD1.policy) in auto mode hyperv-iso.vm: Created symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service → /lib/systemd/system/firewalld.service. hyperv-iso.vm: Created symlink /etc/systemd/system/multi-user.target.wants/firewalld.service → /lib/systemd/system/firewalld.service. hyperv-iso.vm: Setting up samba-vfs-modules:amd64 (2:4.13.14+dfsg-0ubuntu0.20.04.4) ... hyperv-iso.vm: Setting up sssd-ipa (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up samba-common-bin (2:4.13.14+dfsg-0ubuntu0.20.04.4) ... hyperv-iso.vm: Checking smb.conf with testparm hyperv-iso.vm: Load smb config files from /etc/samba/smb.conf hyperv-iso.vm: Loaded services file OK. hyperv-iso.vm: Weak crypto is allowed hyperv-iso.vm: Server role: ROLE_STANDALONE hyperv-iso.vm: hyperv-iso.vm: Done hyperv-iso.vm: Setting up sssd (2.2.3-3ubuntu0.8) ... hyperv-iso.vm: Setting up samba (2:4.13.14+dfsg-0ubuntu0.20.04.4) ... hyperv-iso.vm: Adding groupsambashare' (GID 124) ... hyperv-iso.vm: Done. hyperv-iso.vm: Samba is not being run as an AD Domain Controller: Masking samba-ad-dc.service hyperv-iso.vm: Please ignore the following error about deb-systemd-helper not finding those services. hyperv-iso.vm: (samba-ad-dc.service masked) hyperv-iso.vm: Created symlink /etc/systemd/system/multi-user.target.wants/nmbd.service → /lib/systemd/system/nmbd.service. hyperv-iso.vm: Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked. hyperv-iso.vm: /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory hyperv-iso.vm: Created symlink /etc/systemd/system/multi-user.target.wants/smbd.service → /lib/systemd/system/smbd.service. hyperv-iso.vm: samba-ad-dc.service is a disabled or a static unit, not starting it. hyperv-iso.vm: Setting up ruby (1:2.7+1) ... hyperv-iso.vm: Setting up adwaita-icon-theme (3.36.1-2ubuntu0.20.04.2) ... hyperv-iso.vm: update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode hyperv-iso.vm: Setting up rake (13.0.1-4) ... hyperv-iso.vm: Setting up unhide.rb (22-4) ... hyperv-iso.vm: Setting up libruby2.7:amd64 (2.7.0-5ubuntu1.5) ... hyperv-iso.vm: Setting up humanity-icon-theme (0.6.15) ... hyperv-iso.vm: Setting up ubuntu-mono (19.04-0ubuntu3) ... hyperv-iso.vm: Setting up ruby2.7 (2.7.0-5ubuntu1.5) ... hyperv-iso.vm: Processing triggers for ufw (0.36-6ubuntu1) ... hyperv-iso.vm: Processing triggers for systemd (245.4-4ubuntu3.15) ... hyperv-iso.vm: Processing triggers for man-db (2.9.1-1) ... hyperv-iso.vm: Processing triggers for dbus (1.12.16-2ubuntu2.1) ... hyperv-iso.vm: Processing triggers for install-info (6.7.0.dfsg.2-5) ... hyperv-iso.vm: Processing triggers for mime-support (3.64ubuntu1) ... hyperv-iso.vm: Processing triggers for libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.4) ... hyperv-iso.vm: Setting up libgtk-3-0:amd64 (3.24.20-0ubuntu1) ... hyperv-iso.vm: Processing triggers for libc-bin (2.31-0ubuntu9.2) ... hyperv-iso.vm: Processing triggers for rsyslog (8.2001.0-1ubuntu1.1) ... hyperv-iso.vm: Setting up libgtk-3-bin (3.24.20-0ubuntu1) ... hyperv-iso.vm: Setting up firefox (96.0+build2-0ubuntu0.20.04.1) ... hyperv-iso.vm: update-alternatives: using /usr/bin/firefox to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto mode hyperv-iso.vm: update-alternatives: using /usr/bin/firefox to provide /usr/bin/x-www-browser (x-www-browser) in auto mode hyperv-iso.vm: Please restart all running instances of firefox, or you will experience problems. hyperv-iso.vm: Setting up libgtkmm-3.0-1v5:amd64 (3.24.2-1build1) ... hyperv-iso.vm: Setting up gparted (1.0.0-0.1build1) ... hyperv-iso.vm: Processing triggers for oddjob (0.34.4-1) ... hyperv-iso.vm: Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.40.0+dfsg-3ubuntu0.2) ... hyperv-iso.vm: Processing triggers for rkhunter (1.4.6-8) ... hyperv-iso.vm: [ Rootkit Hunter version 1.4.6 ] hyperv-iso.vm: File updated: searched for 180 files, found 142 hyperv-iso.vm: Processing triggers for libc-bin (2.31-0ubuntu9.2) ... ==> hyperv-iso.vm: Synchronizing state of sssd.service with SysV service script with /lib/systemd/systemd-sysv-install. ==> hyperv-iso.vm: Executing: /lib/systemd/systemd-sysv-install disable sssd ==> hyperv-iso.vm: Removed /etc/systemd/system/multi-user.target.wants/sssd.service. hyperv-iso.vm: Provisioning phase 3 - RK hunter hyperv-iso.vm: [ Rootkit Hunter version 1.4.6 ] hyperv-iso.vm: File updated: searched for 180 files, found 142 hyperv-iso.vm: Provisioning phase 3 - MOTD hyperv-iso.vm: Provisioning phase 3 - Hyper-V/SCVMM Daemons hyperv-iso.vm: Reading package lists... hyperv-iso.vm: Building dependency tree... hyperv-iso.vm: Reading state information... hyperv-iso.vm: linux-cloud-tools-virtual is already the newest version (5.4.0.94.98). hyperv-iso.vm: linux-image-virtual is already the newest version (5.4.0.94.98). hyperv-iso.vm: linux-tools-virtual is already the newest version (5.4.0.94.98). hyperv-iso.vm: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. hyperv-iso.vm: 01/17/22 20:26:46 UTC Installing SCVMM Guest Agent to /opt/microsoft/scvmmguestagent hyperv-iso.vm: 01/17/22 20:26:47 UTC Successfully installed SCVMM Guest Agent hyperv-iso.vm: Provisioning phase 3 - Firewalld hyperv-iso.vm: Reading package lists... hyperv-iso.vm: Building dependency tree... hyperv-iso.vm: Reading state information... hyperv-iso.vm: ufw is already the newest version (0.36-6ubuntu1). hyperv-iso.vm: ufw set to manually installed. hyperv-iso.vm: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. hyperv-iso.vm: Default incoming policy changed to 'deny' hyperv-iso.vm: (be sure to update your rules accordingly) hyperv-iso.vm: Default outgoing policy changed to 'allow' hyperv-iso.vm: (be sure to update your rules accordingly) hyperv-iso.vm: Default routed policy changed to 'allow' hyperv-iso.vm: (be sure to update your rules accordingly) hyperv-iso.vm: Rules updated hyperv-iso.vm: Phase 3 - firewalld - adding cockpit rules hyperv-iso.vm: Rules updated ==> hyperv-iso.vm: Synchronizing state of ufw.service with SysV service script with /lib/systemd/systemd-sysv-install. ==> hyperv-iso.vm: Executing: /lib/systemd/systemd-sysv-install enable ufw hyperv-iso.vm: Command may disrupt existing ssh connections. Proceed with operation (y|n)? Aborted hyperv-iso.vm: Status: inactive hyperv-iso.vm: Provisioning phase 4 - Final updates and cleaning up hyperv-iso.vm: Provisioning phase 4 - system final updates hyperv-iso.vm: Reading package lists... hyperv-iso.vm: Building dependency tree... hyperv-iso.vm: Reading state information... hyperv-iso.vm: Calculating upgrade... hyperv-iso.vm: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. hyperv-iso.vm: Provisioning phase 4 - Done hyperv-iso.vm: Provisioning done - all phases 2022/01/17 14:26:56 packer.exe plugin: [ERROR] Remote command exited without exit status or exit signal. 2022/01/17 14:26:56 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 2300218 2022/01/17 14:26:56 [INFO] 131615 bytes written for 'stdout' 2022/01/17 14:26:56 [INFO] 1027 bytes written for 'stderr' 2022/01/17 14:26:56 [INFO] RPC client: Communicator ended with: 2300218 2022/01/17 14:26:56 [INFO] RPC endpoint: Communicator ended with: 2300218 2022/01/17 14:26:56 packer.exe plugin: [INFO] 131615 bytes written for 'stdout' 2022/01/17 14:26:56 packer.exe plugin: [INFO] 1027 bytes written for 'stderr' 2022/01/17 14:26:56 packer.exe plugin: [INFO] RPC client: Communicator ended with: 2300218 2022/01/17 14:26:56 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:26:56 packer.exe plugin: [ERROR] ssh session open error: 'EOF', attempting reconnect 2022/01/17 14:26:56 packer.exe plugin: [DEBUG] reconnecting to TCP connection for SSH 2022/01/17 14:26:57 packer.exe plugin: [ERROR] reconnection error: dial tcp 192.168.99.22:22: connectex: No connection could be made because the target machine actively refused it. 2022/01/17 14:26:57 packer.exe plugin: Retryable error: Error removing temporary script at /tmp/script_1640.sh: dial tcp 192.168.99.22:22: connectex: No connection could be made because the target machine actively refused it. 2022/01/17 14:26:59 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:26:59 packer.exe plugin: [ERROR] ssh session open error: 'client not available', attempting reconnect 2022/01/17 14:26:59 packer.exe plugin: [DEBUG] reconnecting to TCP connection for SSH 2022/01/17 14:27:14 packer.exe plugin: [ERROR] reconnection error: dial tcp 192.168.99.22:22: i/o timeout 2022/01/17 14:27:14 packer.exe plugin: Retryable error: Error removing temporary script at /tmp/script_1640.sh: dial tcp 192.168.99.22:22: i/o timeout 2022/01/17 14:27:16 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:16 packer.exe plugin: [ERROR] ssh session open error: 'client not available', attempting reconnect 2022/01/17 14:27:16 packer.exe plugin: [DEBUG] reconnecting to TCP connection for SSH 2022/01/17 14:27:31 packer.exe plugin: [ERROR] reconnection error: dial tcp 192.168.99.22:22: i/o timeout 2022/01/17 14:27:31 packer.exe plugin: Retryable error: Error removing temporary script at /tmp/script_1640.sh: dial tcp 192.168.99.22:22: i/o timeout 2022/01/17 14:27:33 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:33 packer.exe plugin: [ERROR] ssh session open error: 'client not available', attempting reconnect 2022/01/17 14:27:33 packer.exe plugin: [DEBUG] reconnecting to TCP connection for SSH 2022/01/17 14:27:33 packer.exe plugin: [DEBUG] handshaking with SSH 2022/01/17 14:27:34 packer.exe plugin: [DEBUG] handshake complete! 2022/01/17 14:27:34 packer.exe plugin: [INFO] no local agent socket, will not connect agent 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] starting remote command: rm -f /tmp/script_1640.sh 2022/01/17 14:27:36 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/17 14:27:36 [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:27:36 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/17 14:27:36 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] starting remote command: rm -f 2022/01/17 14:27:36 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/17 14:27:36 [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:27:36 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/17 14:27:36 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:27:36 [INFO] (telemetry) ending shell 2022/01/17 14:27:36 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/common- => /tmp/common- 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/17 14:27:36 packer.exe plugin: [INFO] 1652 bytes written for 'uploadData' 2022/01/17 14:27:36 [INFO] 1652 bytes written for 'uploadData' 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] scp: Uploading common-: perms=C0666 size=1652 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] scp stderr (length 33): Sink: C0666 1652 common- 2022/01/17 14:27:36 packer.exe plugin: closing 2022/01/17 14:27:36 closing 2022/01/17 14:27:36 packer.exe plugin: closing 2022/01/17 14:27:36 [INFO] (telemetry) ending file 2022/01/17 14:27:36 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/puppet.conf => /tmp/puppet.conf 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/17 14:27:36 packer.exe plugin: [DEBUG] scp: Uploading puppet.conf: perms=C0666 size=511 2022/01/17 14:27:36 packer.exe plugin: [INFO] 511 bytes written for 'uploadData' 2022/01/17 14:27:36 [INFO] 511 bytes written for 'uploadData' 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] scp stderr (length 28): Sink: C0666 511 puppet.conf 2022/01/17 14:27:37 packer.exe plugin: closing 2022/01/17 14:27:37 closing 2022/01/17 14:27:37 packer.exe plugin: closing 2022/01/17 14:27:37 [INFO] (telemetry) ending file 2022/01/17 14:27:37 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/motd.sh => /tmp/motd.sh 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/17 14:27:37 packer.exe plugin: [INFO] 154 bytes written for 'uploadData' 2022/01/17 14:27:37 [INFO] 154 bytes written for 'uploadData' 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] scp: Uploading motd.sh: perms=C0666 size=154 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] scp stderr (length 24): Sink: C0666 154 motd.sh 2022/01/17 14:27:37 packer.exe plugin: closing 2022/01/17 14:27:37 closing 2022/01/17 14:27:37 packer.exe plugin: closing 2022/01/17 14:27:37 [INFO] (telemetry) ending file 2022/01/17 14:27:37 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/vagrant.sh => /tmp/vagrant.sh 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] scp: Uploading vagrant.sh: perms=C0666 size=596 2022/01/17 14:27:37 packer.exe plugin: [INFO] 596 bytes written for 'uploadData' 2022/01/17 14:27:37 [INFO] 596 bytes written for 'uploadData' 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] scp stderr (length 27): Sink: C0666 596 vagrant.sh 2022/01/17 14:27:37 packer.exe plugin: closing 2022/01/17 14:27:37 closing 2022/01/17 14:27:37 packer.exe plugin: closing 2022/01/17 14:27:37 [INFO] (telemetry) ending file ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/prepare_neofetch.sh => /tmp/prepare_neofetch.sh 2022/01/17 14:27:37 [INFO] (telemetry) Starting provisioner file 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:37 packer.exe plugin: [INFO] 1720 bytes written for 'uploadData' 2022/01/17 14:27:37 [INFO] 1720 bytes written for 'uploadData' 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] scp: Uploading prepare_neofetch.sh: perms=C0666 size=1720 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] scp stderr (length 37): Sink: C0666 1720 prepare_neofetch.sh 2022/01/17 14:27:37 packer.exe plugin: closing 2022/01/17 14:27:37 closing 2022/01/17 14:27:37 packer.exe plugin: closing 2022/01/17 14:27:37 [INFO] (telemetry) ending file 2022/01/17 14:27:37 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/zeroing.sh => /tmp/zeroing.sh 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/17 14:27:37 packer.exe plugin: [INFO] 186 bytes written for 'uploadData' 2022/01/17 14:27:37 [INFO] 186 bytes written for 'uploadData' 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] scp: Uploading zeroing.sh: perms=C0666 size=186 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] scp stderr (length 27): Sink: C0666 186 zeroing.sh 2022/01/17 14:27:37 packer.exe plugin: closing 2022/01/17 14:27:37 closing 2022/01/17 14:27:37 packer.exe plugin: closing 2022/01/17 14:27:37 [INFO] (telemetry) ending file 2022/01/17 14:27:37 [INFO] (telemetry) Starting provisioner shell ==> hyperv-iso.vm: Provisioning with shell script: C:\Users\ADMINI~1.LLB\AppData\Local\Temp\2\packer-shell1614407573 2022/01/17 14:27:37 packer.exe plugin: Opening C:\Users\ADMINI~1.LLB\AppData\Local\Temp\2\packer-shell1614407573 for reading 2022/01/17 14:27:37 packer.exe plugin: [INFO] 411 bytes written for 'uploadData' 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:37 [INFO] 411 bytes written for 'uploadData' 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Copying input data into temporary file so we can read the length 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] scp: Uploading script_154.sh: perms=C0644 size=411 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] scp stderr (length 30): Sink: C0644 411 script_154.sh 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] starting remote command: chmod 0755 /tmp/script_154.sh 2022/01/17 14:27:37 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/17 14:27:37 [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:27:37 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/17 14:27:37 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:27:37 packer.exe plugin: [DEBUG] starting remote command: chmod +x /tmp/script_154.sh; PACKER_BUILDER_TYPE='hyperv-iso' PACKER_BUILD_NAME='vm' PACKER_HTTP_ADDR='192.168.99.5:8126' PACKER_HTTP_IP='192.168.99.5' PACKER_HTTP_PORT='8126' sudo -E sh '/tmp/script_154.sh' hyperv-iso.vm: Last Phase hyperv-iso.vm: renamed '/tmp/common-' -> '/etc/pam.d/common-' hyperv-iso.vm: No /etc/neofetch exists - creating one hyperv-iso.vm: mkdir: created directory '/etc/neofetch' hyperv-iso.vm: File /etc/neofetch/config.conf doesn't exist - couldn't configure neofetch hyperv-iso.vm: Zeroing phase ==> hyperv-iso.vm: dd: error writing '/file.zero': No space left on device ==> hyperv-iso.vm: 3334775+25197783 records in ==> hyperv-iso.vm: 3334774+25197783 records out ==> hyperv-iso.vm: 29563047936 bytes (30 GB, 28 GiB) copied, 1673.54 s, 17.7 MB/s ==> hyperv-iso.vm: ==> hyperv-iso.vm: real 27m53.570s ==> hyperv-iso.vm: user 4m7.242s ==> hyperv-iso.vm: sys 15m26.960s hyperv-iso.vm: removed '/file.zero' hyperv-iso.vm: Zeroing done hyperv-iso.vm: removed '/tmp/motd.sh' hyperv-iso.vm: removed '/tmp/prepare_neofetch.sh' hyperv-iso.vm: removed '/tmp/puppet.conf' hyperv-iso.vm: removed '/tmp/script_154.sh' hyperv-iso.vm: removed directory '/tmp/snap.lxd/tmp' hyperv-iso.vm: removed directory '/tmp/snap.lxd' hyperv-iso.vm: removed directory '/tmp/systemd-private-b3cc48effa024997bff6eaffc71b6a14-ModemManager.service-RjC7Og/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-b3cc48effa024997bff6eaffc71b6a14-ModemManager.service-RjC7Og' hyperv-iso.vm: removed directory '/tmp/systemd-private-b3cc48effa024997bff6eaffc71b6a14-systemd-logind.service-jDL7fi/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-b3cc48effa024997bff6eaffc71b6a14-systemd-logind.service-jDL7fi' hyperv-iso.vm: removed directory '/tmp/systemd-private-b3cc48effa024997bff6eaffc71b6a14-systemd-resolved.service-8X6QRg/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-b3cc48effa024997bff6eaffc71b6a14-systemd-resolved.service-8X6QRg' hyperv-iso.vm: removed directory '/tmp/systemd-private-b3cc48effa024997bff6eaffc71b6a14-systemd-timesyncd.service-GuIgZh/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-b3cc48effa024997bff6eaffc71b6a14-systemd-timesyncd.service-GuIgZh' hyperv-iso.vm: removed '/tmp/vagrant.sh' hyperv-iso.vm: removed '/tmp/zeroing.sh' hyperv-iso.vm: ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 2022/01/17 14:55:32 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/17 14:55:32 [INFO] 1430 bytes written for 'stdout' 2022/01/17 14:55:32 [INFO] 222 bytes written for 'stderr' 2022/01/17 14:55:32 [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:55:32 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/17 14:55:32 packer.exe plugin: [INFO] 1430 bytes written for 'stdout' 2022/01/17 14:55:32 packer.exe plugin: [INFO] 222 bytes written for 'stderr' 2022/01/17 14:55:32 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:55:32 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:55:32 packer.exe plugin: [DEBUG] starting remote command: rm -f /tmp/script_154.sh 2022/01/17 14:55:32 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 ==> hyperv-iso.vm: Gracefully halting virtual machine... 2022/01/17 14:55:32 [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:55:32 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/17 14:55:32 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:55:32 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:55:32 packer.exe plugin: [DEBUG] starting remote command: rm -f 2022/01/17 14:55:32 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/17 14:55:32 [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:55:32 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/17 14:55:32 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/17 14:55:32 [INFO] (telemetry) ending shell 2022/01/17 14:55:32 packer.exe plugin: Executing shutdown command: echo '' | sudo -S shutdown -P now 2022/01/17 14:55:32 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/17 14:55:32 packer.exe plugin: [DEBUG] starting remote command: echo '' | sudo -S shutdown -P now 2022/01/17 14:55:32 packer.exe plugin: Waiting max 30m0s for shutdown to complete 2022/01/17 14:55:39 packer.exe plugin: VM shut down. ==> hyperv-iso.vm: Waiting for vm to be powered down... ==> hyperv-iso.vm: Unmount/delete secondary dvd drives... ==> hyperv-iso.vm: Unmount/delete Integration Services dvd drive... ==> hyperv-iso.vm: Unmount/delete os dvd drive... ==> hyperv-iso.vm: Delete os dvd drives controller 0 location 1 ... ==> hyperv-iso.vm: Compacting disks... hyperv-iso.vm: Disk size reduced by: 16.2% hyperv-iso.vm: Compacting disk: packer-ubuntu2004-g2.vhdx hyperv-iso.vm: Disk size reduced by: 16.2% ==> hyperv-iso.vm: Exporting virtual machine... ==> hyperv-iso.vm: Collating build artifacts... ==> hyperv-iso.vm: Disconnecting from vmconnect... ==> hyperv-iso.vm: Unregistering and deleting virtual machine... ==> hyperv-iso.vm: Deleting build directory... 2022/01/17 14:56:07 [INFO] (telemetry) ending hyperv-iso.vm Build 'hyperv-iso.vm' finished after 1 hour 2 minutes. ==> Wait completed after 1 hour 2 minutes

==> Builds finished. The artifacts of successful builds are: ==> Wait completed after 1 hour 2 minutes 2022/01/17 14:56:07 machine readable: hyperv-iso.vm,artifact-count []string{"1"}

2022/01/17 14:56:07 machine readable: hyperv-iso.vm,artifact []string{"0", "builder-id", "MSOpenTech.hyperv"} ==> Builds finished. The artifacts of successful builds are: 2022/01/17 14:56:07 machine readable: hyperv-iso.vm,artifact []string{"0", "id", "VM"} --> hyperv-iso.vm: VM files in directory: output-ubuntu2004 2022/01/17 14:56:07 machine readable: hyperv-iso.vm,artifact []string{"0", "string", "VM files in directory: output-ubuntu2004"} 2022/01/17 14:56:07 machine readable: hyperv-iso.vm,artifact []string{"0", "files-count", "5"} 2022/01/17 14:56:07 machine readable: hyperv-iso.vm,artifact []string{"0", "file", "0", "output-ubuntu2004\Virtual Hard Disks\packer-ubuntu2004-g2.vhdx"} 2022/01/17 14:56:07 machine readable: hyperv-iso.vm,artifact []string{"0", "file", "1", "output-ubuntu2004\Virtual Machines\06B3E2E2-BE11-43B4-87BB-855F38BC622A.VMRS"} 2022/01/17 14:56:07 machine readable: hyperv-iso.vm,artifact []string{"0", "file", "2", "output-ubuntu2004\Virtual Machines\06B3E2E2-BE11-43B4-87BB-855F38BC622A.vmcx"} 2022/01/17 14:56:07 machine readable: hyperv-iso.vm,artifact []string{"0", "file", "3", "output-ubuntu2004\Virtual Machines\06B3E2E2-BE11-43B4-87BB-855F38BC622A.vmgs"} 2022/01/17 14:56:07 machine readable: hyperv-iso.vm,artifact []string{"0", "file", "4", "output-ubuntu2004\Virtual Machines\box.xml"} 2022/01/17 14:56:07 machine readable: hyperv-iso.vm,artifact []string{"0", "end"} 2022/01/17 14:56:07 [INFO] (telemetry) Finalizing. 2022/01/17 14:56:07 waiting for all plugin processes to complete... 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 [ERR] Error decoding response stream 13: EOF 2022/01/17 14:56:07 [ERR] Error decoding response stream 11: EOF 2022/01/17 14:56:07 [ERR] Error decoding response stream 12: EOF 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/17 14:56:07 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited

[DBG]: PS D:\packer\hv-packer-master> '''

moosicplexix commented 2 years ago

I tried it with 20.04.02 and ubuntu | password worked for me.

marcinbojko commented 2 years ago

I've tested ith 1.9.3 release and this issue is gone. I'll try publish as fast as I can verify all of them

marcinbojko commented 2 years ago

Thanks for looking into it. What linux distro do you recommend?

Depends on your needs, but I am finding CentOS/Alma/Rocky quite valuable.

moosicplexix commented 2 years ago

I've tested ith 1.9.3 release and this issue is gone. I'll try publish as fast as I can verify all of them

So you're not seeing the issue with 20.04.03?

moosicplexix commented 2 years ago

Also, I wrote the wrong version up above.. I meant 1.9.2.

marcinbojko commented 2 years ago

No, I do not see that issue. Feel free to test dev branch https://github.com/marcinbojko/hv-packer/tree/dev

moosicplexix commented 2 years ago

Testing now.

moosicplexix commented 2 years ago

Dev branch works.

marcinbojko commented 2 years ago

Excellent

moosicplexix commented 2 years ago

It doesn't appear that provision.sh runs in dev. Any ideas why? Want me to open a new issue?

marcinbojko commented 2 years ago

It's still dev, so maybe it's a bug

marcinbojko commented 2 years ago

I cannot confirm this issue

==> hyperv-iso.vm: Provisioning with shell script: C:\Windows\TEMP\packer-shell2830219804
    hyperv-iso.vm: INSTALL_UPDATES = true
    hyperv-iso.vm: INSTALL_COCKPIT = true
    hyperv-iso.vm: INSTALL_HYPERV  = false
    hyperv-iso.vm: INSTALL_PUPPET  = true
    hyperv-iso.vm: INSTALL_ZABBIX  = false
    hyperv-iso.vm: Provisioning phase 1 - Starting: Mirror, SELinux and basic packages
    hyperv-iso.vm: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
    hyperv-iso.vm: Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
    hyperv-iso.vm: Get:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
    hyperv-iso.vm: Get:4 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
moosicplexix commented 2 years ago

This is what I see in my logs:

`==> hyperv-iso.vm: Connected to SSH! ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/uefi.sh => /tmp/uefi.sh ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/provision.sh => /tmp/provision.sh ==> hyperv-iso.vm: Uploading extra/files/scagent/1.0.3.1028/scvmmguestagent.1.0.3.1028.x64.tar => /tmp/scvmmguestagent.1.0.3.1028.x64.tar ==> hyperv-iso.vm: Uploading extra/files/scagent/1.0.3.1028/install => /tmp/install ==> hyperv-iso.vm: Provisioning with shell script: C:\Users\ADMINI~1.LLB\AppData\Local\Temp\packer-shell953461524 ==> hyperv-iso.vm: /tmp/script_5759.sh: 5: /tmp/provision.sh: not found ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/puppet.conf => /tmp/puppet.conf ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/motd.sh => /tmp/motd.sh ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/prepare_neofetch.sh => /tmp/prepare_neofetch.sh ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/zeroing.sh => /tmp/zeroing.sh ==> hyperv-iso.vm: Provisioning with shell script: C:\Users\ADMINI~1.LLB\AppData\Local\Temp\packer-shell2377992817 hyperv-iso.vm: Last Phase ==> hyperv-iso.vm: /usr/bin/env: ‘bash\r’: No such file or directory ==> hyperv-iso.vm: /usr/bin/env: ‘bash\r’: No such file or directory hyperv-iso.vm: removed '/tmp/motd.sh' hyperv-iso.vm: removed '/tmp/prepare_neofetch.sh' hyperv-iso.vm: removed '/tmp/puppet.conf' hyperv-iso.vm: removed '/tmp/script_953.sh' hyperv-iso.vm: removed directory '/tmp/snap.lxd/tmp' hyperv-iso.vm: removed directory '/tmp/snap.lxd' hyperv-iso.vm: removed directory '/tmp/systemd-private-f7ad32f178fe4e099f904d8129a9ac42-systemd-hostnamed.service-4ZPdRf/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-f7ad32f178fe4e099f904d8129a9ac42-systemd-hostnamed.service-4ZPdRf' hyperv-iso.vm: removed directory '/tmp/systemd-private-f7ad32f178fe4e099f904d8129a9ac42-systemd-logind.service-Bgx68f/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-f7ad32f178fe4e099f904d8129a9ac42-systemd-logind.service-Bgx68f' hyperv-iso.vm: removed directory '/tmp/systemd-private-f7ad32f178fe4e099f904d8129a9ac42-systemd-resolved.service-MICsWf/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-f7ad32f178fe4e099f904d8129a9ac42-systemd-resolved.service-MICsWf' hyperv-iso.vm: removed directory '/tmp/systemd-private-f7ad32f178fe4e099f904d8129a9ac42-systemd-timesyncd.service-Scywxf/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-f7ad32f178fe4e099f904d8129a9ac42-systemd-timesyncd.service-Scywxf' hyperv-iso.vm: removed '/tmp/zeroing.sh' hyperv-iso.vm: ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 ==> hyperv-iso.vm: Gracefully halting virtual machine... ==> hyperv-iso.vm: Waiting for vm to be powered down... ==> hyperv-iso.vm: Unmount/delete secondary dvd drives... ==> hyperv-iso.vm: Unmount/delete Integration Services dvd drive... ==> hyperv-iso.vm: Unmount/delete os dvd drive... ==> hyperv-iso.vm: Delete os dvd drives controller 0 location 1 ... ==> hyperv-iso.vm: Compacting disks... hyperv-iso.vm: Compacting disk: storage01.vhdx hyperv-iso.vm: Disk size is unchanged ==> hyperv-iso.vm: Exporting virtual machine... ==> hyperv-iso.vm: Collating build artifacts... ==> hyperv-iso.vm: Disconnecting from vmconnect... ==> hyperv-iso.vm: Unregistering and deleting virtual machine... ==> hyperv-iso.vm: Deleting build directory... Build 'hyperv-iso.vm' finished after 24 minutes 48 seconds.

==> Wait completed after 24 minutes 48 seconds

==> Builds finished. The artifacts of successful builds are: --> hyperv-iso.vm: VM files in directory: output-ubuntu2004 [INFO] - Elapsed Time: 1497.0440044 seconds PS D:\packer\hv-packer-0123\dev\Plexix_images_ubuntu>`

moosicplexix commented 2 years ago

Debug turned on 2022/01/25 17:22:33 packer.exe plugin: [INFO] Attempting SSH connection to 10.10.11.254:22... 2022/01/25 17:22:33 packer.exe plugin: [DEBUG] reconnecting to TCP connection for SSH 2022/01/25 17:22:33 packer.exe plugin: [DEBUG] handshaking with SSH ==> hyperv-iso.vm: Connected to SSH! 2022/01/25 17:22:33 packer.exe plugin: [DEBUG] handshake complete! 2022/01/25 17:22:33 packer.exe plugin: [INFO] no local agent socket, will not connect agent 2022/01/25 17:22:33 packer.exe plugin: Running the provision hook 2022/01/25 17:22:33 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/uefi.sh => /tmp/uefi.sh 2022/01/25 17:22:33 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:22:33 packer.exe plugin: [INFO] 637 bytes written for 'uploadData' 2022/01/25 17:22:33 [INFO] 637 bytes written for 'uploadData' 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] scp: Uploading uefi.sh: perms=C0666 size=637 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] scp stderr (length 24): Sink: C0666 637 uefi.sh 2022/01/25 17:22:36 packer.exe plugin: closing 2022/01/25 17:22:36 closing 2022/01/25 17:22:36 packer.exe plugin: closing 2022/01/25 17:22:36 [INFO] (telemetry) ending file 2022/01/25 17:22:36 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/provision.sh => /tmp/provision.sh 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/25 17:22:36 packer.exe plugin: [INFO] 6014 bytes written for 'uploadData' 2022/01/25 17:22:36 [INFO] 6014 bytes written for 'uploadData' 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] scp: Uploading provision.sh: perms=C0666 size=6014 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] scp stderr (length 30): Sink: C0666 6014 provision.sh 2022/01/25 17:22:36 packer.exe plugin: closing 2022/01/25 17:22:36 closing 2022/01/25 17:22:36 packer.exe plugin: closing 2022/01/25 17:22:36 [INFO] (telemetry) ending file 2022/01/25 17:22:36 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/scagent/1.0.3.1028/scvmmguestagent.1.0.3.1028.x64.tar => /tmp/scvmmguestagent.1.0.3.1028.x64.tar 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] scp: Uploading scvmmguestagent.1.0.3.1028.x64.tar: perms=C0666 size=4085760 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/25 17:22:36 packer.exe plugin: [INFO] 4085760 bytes written for 'uploadData' 2022/01/25 17:22:36 [INFO] 4085760 bytes written for 'uploadData' 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] scp stderr (length 55): Sink: C0666 4085760 scvmmguestagent.1.0.3.1028.x64.tar 2022/01/25 17:22:36 packer.exe plugin: closing 2022/01/25 17:22:36 closing 2022/01/25 17:22:36 packer.exe plugin: closing 2022/01/25 17:22:36 [INFO] (telemetry) ending file 2022/01/25 17:22:36 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/scagent/1.0.3.1028/install => /tmp/install 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] scp: Uploading install: perms=C0666 size=9608 2022/01/25 17:22:36 packer.exe plugin: [INFO] 9608 bytes written for 'uploadData' 2022/01/25 17:22:36 [INFO] 9608 bytes written for 'uploadData' 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] scp stderr (length 25): Sink: C0666 9608 install 2022/01/25 17:22:36 packer.exe plugin: closing 2022/01/25 17:22:36 closing 2022/01/25 17:22:36 packer.exe plugin: closing 2022/01/25 17:22:36 [INFO] (telemetry) ending file 2022/01/25 17:22:36 [INFO] (telemetry) Starting provisioner shell ==> hyperv-iso.vm: Provisioning with shell script: C:\Users\ADMINI~1.LLB\AppData\Local\Temp\packer-shell1390813999 2022/01/25 17:22:36 packer.exe plugin: Opening C:\Users\ADMINI~1.LLB\AppData\Local\Temp\packer-shell1390813999 for reading 2022/01/25 17:22:36 packer.exe plugin: [INFO] 145 bytes written for 'uploadData' 2022/01/25 17:22:36 [INFO] 145 bytes written for 'uploadData' 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:22:36 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] Copying input data into temporary file so we can read the length 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] scp: Uploading script_5230.sh: perms=C0644 size=145 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] scp stderr (length 31): Sink: C0644 145 script_5230.sh 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] starting remote command: chmod 0755 /tmp/script_5230.sh 2022/01/25 17:22:37 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:22:37 [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:22:37 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:22:37 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] starting remote command: chmod +x /tmp/script_5230.sh; PACKER_BUILDER_TYPE='hyperv-iso' PACKER_BUILD_NAME='vm' PACKER_HTTP_ADDR='10.10.11.5:8186' PACKER_HTTP_IP='10.10.11.5' PACKER_HTTP_PORT='8186' sudo -E sh '/tmp/script_5230.sh' ==> hyperv-iso.vm: /tmp/script_5230.sh: 5: /tmp/provision.sh: not found 2022/01/25 17:22:37 packer.exe plugin: [ERROR] Remote command exited without exit status or exit signal. 2022/01/25 17:22:37 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 2300218 2022/01/25 17:22:37 [INFO] 0 bytes written for 'stdout' 2022/01/25 17:22:37 [INFO] 53 bytes written for 'stderr' 2022/01/25 17:22:37 [INFO] RPC client: Communicator ended with: 2300218 2022/01/25 17:22:37 [INFO] RPC endpoint: Communicator ended with: 2300218 2022/01/25 17:22:37 packer.exe plugin: [INFO] 0 bytes written for 'stdout' 2022/01/25 17:22:37 packer.exe plugin: [INFO] 53 bytes written for 'stderr' 2022/01/25 17:22:37 packer.exe plugin: [INFO] RPC client: Communicator ended with: 2300218 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:22:37 packer.exe plugin: [ERROR] ssh session open error: 'EOF', attempting reconnect 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] reconnecting to TCP connection for SSH 2022/01/25 17:22:37 packer.exe plugin: [DEBUG] handshaking with SSH 2022/01/25 17:22:38 packer.exe plugin: [DEBUG] handshake complete! 2022/01/25 17:22:38 packer.exe plugin: [INFO] no local agent socket, will not connect agent 2022/01/25 17:23:03 packer.exe plugin: Retryable error: Error removing temporary script at /tmp/script_5230.sh: ssh: unexpected packet in response to channel open: 2022/01/25 17:23:05 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:05 packer.exe plugin: [ERROR] ssh session open error: 'read tcp 10.10.11.5:62512->10.10.11.254:22: wsarecv: An existing connection was forcibly closed by the remote host.', attempting reconnect 2022/01/25 17:23:05 packer.exe plugin: [DEBUG] reconnecting to TCP connection for SSH 2022/01/25 17:23:05 packer.exe plugin: [DEBUG] handshaking with SSH 2022/01/25 17:23:05 packer.exe plugin: [DEBUG] handshake complete! 2022/01/25 17:23:05 packer.exe plugin: [INFO] no local agent socket, will not connect agent 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] starting remote command: rm -f /tmp/script_5230.sh 2022/01/25 17:23:07 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:07 [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:07 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:07 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] starting remote command: rm -f 2022/01/25 17:23:07 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:07 [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:07 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:07 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:07 [INFO] (telemetry) ending shell 2022/01/25 17:23:07 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/puppet.conf => /tmp/puppet.conf 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/25 17:23:07 packer.exe plugin: [INFO] 520 bytes written for 'uploadData' 2022/01/25 17:23:07 [INFO] 520 bytes written for 'uploadData' 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] scp: Uploading puppet.conf: perms=C0666 size=520 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] scp stderr (length 28): Sink: C0666 520 puppet.conf 2022/01/25 17:23:07 packer.exe plugin: closing 2022/01/25 17:23:07 closing ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/motd.sh => /tmp/motd.sh 2022/01/25 17:23:07 packer.exe plugin: closing 2022/01/25 17:23:07 [INFO] (telemetry) ending file 2022/01/25 17:23:07 [INFO] (telemetry) Starting provisioner file 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:07 packer.exe plugin: [INFO] 169 bytes written for 'uploadData' 2022/01/25 17:23:07 [INFO] 169 bytes written for 'uploadData' 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] scp: Uploading motd.sh: perms=C0666 size=169 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] scp stderr (length 24): Sink: C0666 169 motd.sh 2022/01/25 17:23:07 packer.exe plugin: closing 2022/01/25 17:23:07 closing 2022/01/25 17:23:07 packer.exe plugin: closing 2022/01/25 17:23:07 [INFO] (telemetry) ending file 2022/01/25 17:23:07 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/prepare_neofetch.sh => /tmp/prepare_neofetch.sh 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:07 packer.exe plugin: [INFO] 1768 bytes written for 'uploadData' 2022/01/25 17:23:07 [INFO] 1768 bytes written for 'uploadData' 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/25 17:23:07 packer.exe plugin: [DEBUG] scp: Uploading prepare_neofetch.sh: perms=C0666 size=1768 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] scp stderr (length 37): Sink: C0666 1768 prepare_neofetch.sh 2022/01/25 17:23:08 packer.exe plugin: closing 2022/01/25 17:23:08 closing 2022/01/25 17:23:08 packer.exe plugin: closing 2022/01/25 17:23:08 [INFO] (telemetry) ending file 2022/01/25 17:23:08 [INFO] (telemetry) Starting provisioner file ==> hyperv-iso.vm: Uploading extra/files/gen2-ubuntu2004/zeroing.sh => /tmp/zeroing.sh 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/25 17:23:08 packer.exe plugin: [INFO] 200 bytes written for 'uploadData' 2022/01/25 17:23:08 [INFO] 200 bytes written for 'uploadData' 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] scp: Uploading zeroing.sh: perms=C0666 size=200 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] scp stderr (length 27): Sink: C0666 200 zeroing.sh 2022/01/25 17:23:08 packer.exe plugin: closing 2022/01/25 17:23:08 closing 2022/01/25 17:23:08 packer.exe plugin: closing 2022/01/25 17:23:08 [INFO] (telemetry) ending file 2022/01/25 17:23:08 [INFO] (telemetry) Starting provisioner shell ==> hyperv-iso.vm: Provisioning with shell script: C:\Users\ADMINI~1.LLB\AppData\Local\Temp\packer-shell770966980 2022/01/25 17:23:08 packer.exe plugin: Opening C:\Users\ADMINI~1.LLB\AppData\Local\Temp\packer-shell770966980 for reading 2022/01/25 17:23:08 packer.exe plugin: [INFO] 276 bytes written for 'uploadData' 2022/01/25 17:23:08 [INFO] 276 bytes written for 'uploadData' 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Starting remote scp process: scp -vt /tmp 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Started SCP session, beginning transfers... 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Copying input data into temporary file so we can read the length 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] scp: Uploading script_8218.sh: perms=C0644 size=276 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] SCP session complete, closing stdin pipe. 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Waiting for SSH session to complete. 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] scp stderr (length 31): Sink: C0644 276 script_8218.sh 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] starting remote command: chmod 0755 /tmp/script_8218.sh 2022/01/25 17:23:08 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:08 [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:08 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:08 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:08 packer.exe plugin: [DEBUG] starting remote command: chmod +x /tmp/script_8218.sh; PACKER_BUILDER_TYPE='hyperv-iso' PACKER_BUILD_NAME='vm' PACKER_HTTP_ADDR='10.10.11.5:8186' PACKER_HTTP_IP='10.10.11.5' PACKER_HTTP_PORT='8186' sudo -E sh '/tmp/script_8218.sh' hyperv-iso.vm: Last Phase ==> hyperv-iso.vm: /usr/bin/env: ‘bash\r’: No such file or directory ==> hyperv-iso.vm: /usr/bin/env: ‘bash\r’: No such file or directory hyperv-iso.vm: removed '/tmp/motd.sh' hyperv-iso.vm: removed '/tmp/prepare_neofetch.sh' hyperv-iso.vm: removed '/tmp/puppet.conf' hyperv-iso.vm: removed '/tmp/script_8218.sh' hyperv-iso.vm: removed directory '/tmp/snap.lxd/tmp' hyperv-iso.vm: removed directory '/tmp/snap.lxd' hyperv-iso.vm: removed directory '/tmp/systemd-private-4ef17421e6f840baa6d84ff57af46bfb-systemd-hostnamed.service-ydWC3h/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-4ef17421e6f840baa6d84ff57af46bfb-systemd-hostnamed.service-ydWC3h' hyperv-iso.vm: removed directory '/tmp/systemd-private-4ef17421e6f840baa6d84ff57af46bfb-systemd-logind.service-VZkh4e/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-4ef17421e6f840baa6d84ff57af46bfb-systemd-logind.service-VZkh4e' hyperv-iso.vm: removed directory '/tmp/systemd-private-4ef17421e6f840baa6d84ff57af46bfb-systemd-resolved.service-xcq8Xg/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-4ef17421e6f840baa6d84ff57af46bfb-systemd-resolved.service-xcq8Xg' hyperv-iso.vm: removed directory '/tmp/systemd-private-4ef17421e6f840baa6d84ff57af46bfb-systemd-timesyncd.service-vmrnFg/tmp' hyperv-iso.vm: removed directory '/tmp/systemd-private-4ef17421e6f840baa6d84ff57af46bfb-systemd-timesyncd.service-vmrnFg' hyperv-iso.vm: removed '/tmp/zeroing.sh' hyperv-iso.vm: ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 2022/01/25 17:23:09 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:09 [INFO] 1149 bytes written for 'stdout' 2022/01/25 17:23:09 [INFO] 108 bytes written for 'stderr' 2022/01/25 17:23:09 [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:09 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:09 packer.exe plugin: [INFO] 1149 bytes written for 'stdout' 2022/01/25 17:23:09 packer.exe plugin: [INFO] 108 bytes written for 'stderr' 2022/01/25 17:23:09 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:09 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:09 packer.exe plugin: [DEBUG] starting remote command: rm -f /tmp/script_8218.sh 2022/01/25 17:23:09 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:09 [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:09 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:09 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:09 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:09 packer.exe plugin: [DEBUG] starting remote command: rm -f ==> hyperv-iso.vm: Gracefully halting virtual machine... 2022/01/25 17:23:09 packer.exe plugin: [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:09 [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:09 [INFO] RPC endpoint: Communicator ended with: 0 2022/01/25 17:23:09 packer.exe plugin: [INFO] RPC client: Communicator ended with: 0 2022/01/25 17:23:09 [INFO] (telemetry) ending shell 2022/01/25 17:23:09 packer.exe plugin: Executing shutdown command: echo '' | sudo -S shutdown -P now 2022/01/25 17:23:09 packer.exe plugin: [DEBUG] Opening new ssh session 2022/01/25 17:23:09 packer.exe plugin: [DEBUG] starting remote command: echo '' | sudo -S shutdown -P now 2022/01/25 17:23:09 packer.exe plugin: Waiting max 30m0s for shutdown to complete 2022/01/25 17:23:44 packer.exe plugin: VM shut down. ==> hyperv-iso.vm: Waiting for vm to be powered down... ==> hyperv-iso.vm: Unmount/delete secondary dvd drives... ==> hyperv-iso.vm: Unmount/delete Integration Services dvd drive... ==> hyperv-iso.vm: Unmount/delete os dvd drive... ==> hyperv-iso.vm: Delete os dvd drives controller 0 location 1 ... ==> hyperv-iso.vm: Compacting disks... hyperv-iso.vm: Disk size is unchanged hyperv-iso.vm: Compacting disk: storage01.vhdx hyperv-iso.vm: Disk size is unchanged ==> hyperv-iso.vm: Exporting virtual machine... ==> hyperv-iso.vm: Collating build artifacts... ==> hyperv-iso.vm: Disconnecting from vmconnect... ==> hyperv-iso.vm: Unregistering and deleting virtual machine... ==> hyperv-iso.vm: Deleting build directory... 2022/01/25 17:24:11 [INFO] (telemetry) ending hyperv-iso.vm Build 'hyperv-iso.vm' finished after 26 minutes 28 seconds. ==> Wait completed after 26 minutes 28 seconds

==> Builds finished. The artifacts of successful builds are: ==> Wait completed after 26 minutes 28 seconds 2022/01/25 17:24:11 machine readable: hyperv-iso.vm,artifact-count []string{"1"}

2022/01/25 17:24:11 machine readable: hyperv-iso.vm,artifact []string{"0", "builder-id", "MSOpenTech.hyperv"} ==> Builds finished. The artifacts of successful builds are: 2022/01/25 17:24:11 machine readable: hyperv-iso.vm,artifact []string{"0", "id", "VM"} --> hyperv-iso.vm: VM files in directory: output-ubuntu2004 2022/01/25 17:24:11 machine readable: hyperv-iso.vm,artifact []string{"0", "string", "VM files in directory: output-ubuntu2004"} 2022/01/25 17:24:11 machine readable: hyperv-iso.vm,artifact []string{"0", "files-count", "5"} 2022/01/25 17:24:11 machine readable: hyperv-iso.vm,artifact []string{"0", "file", "0", "output-ubuntu2004\Virtual Hard Disks\storage01.vhdx"} 2022/01/25 17:24:11 machine readable: hyperv-iso.vm,artifact []string{"0", "file", "1", "output-ubuntu2004\Virtual Machines\D6147655-5103-4B26-8802-1C074BD0F8FF.VMRS"} 2022/01/25 17:24:11 machine readable: hyperv-iso.vm,artifact []string{"0", "file", "2", "output-ubuntu2004\Virtual Machines\D6147655-5103-4B26-8802-1C074BD0F8FF.vmcx"} 2022/01/25 17:24:11 machine readable: hyperv-iso.vm,artifact []string{"0", "file", "3", "output-ubuntu2004\Virtual Machines\D6147655-5103-4B26-8802-1C074BD0F8FF.vmgs"} 2022/01/25 17:24:11 machine readable: hyperv-iso.vm,artifact []string{"0", "file", "4", "output-ubuntu2004\Virtual Machines\box.xml"} 2022/01/25 17:24:11 machine readable: hyperv-iso.vm,artifact []string{"0", "end"} 2022/01/25 17:24:11 [INFO] (telemetry) Finalizing. 2022/01/25 17:24:12 waiting for all plugin processes to complete... 2022/01/25 17:24:12 [ERR] Error decoding response stream 11: EOF 2022/01/25 17:24:12 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/25 17:24:12 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/25 17:24:12 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/25 17:24:12 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/25 17:24:12 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/25 17:24:12 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/25 17:24:12 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/25 17:24:12 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/25 17:24:12 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/25 17:24:12 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited 2022/01/25 17:24:12 C:\ProgramData\chocolatey\lib\packer\tools\packer.exe: plugin process exited [INFO] - Elapsed Time: 1596.9175518 seconds

moosicplexix commented 2 years ago

Looks like it is this issue with packer: https://github.com/hashicorp/packer/issues/6151

marcinbojko commented 2 years ago

@moosicplexix No it's not an issue with packer During your git clone files in /extra/ has been converted from LF into CR/LF (Windows). Make your your client supports .gitattributes

*.sh        text eol=lf

Also, please, let's stay focused on one error here.

moosicplexix commented 2 years ago

Thanks. That resolved all of my issues. The dev branch works for logging in. I will test again with the master branch.

moosicplexix commented 2 years ago

Tested again with master branch. It also works. I'm so sorry I wasted your time.