Open Sergong opened 1 month ago
@Sergong, the examples are not always up to date with the changes that go around. they are like a starting point and some times they need a bit of TLC. For the error with the tools, try to restart your mac, that normally solves that issue.
Now we are actually seeing some issues with our tools in Ubuntu22.04.5 and we are investigating it at the moment
Thanks @cjlapao re: TLC and keeping things up-to-date, I suspected as much. Been having an interesting week building ubuntu images using packer for Azure & vSphere... both each with their own challenges. I'll give the restart a try when I have a bit more time.
@Sergong The examples have been updated to the latest versions but at the moment the latest Ubuntu's use a new Kernel that is unsupported, so packer will be unable to install the pd tools. This will be fixed in PD20.1.1 that will be released end of this month beginning of November
I'm trying to build an Ubuntu 22.04.5 VM using the example script provided in the Ubuntu directory.
I'm working on an Apple Silicon Mac Mini with M1 (macOS 14.7), have the latest packer version 1.11 and Parallels 20 (Pro edition).
Something is going wrong at the Subiquite Late run stage the following command returns a non-zero exit status 2:
sed -I "s/dhcp4: true/8\\n. dhcp-identifier: Mac/" /target/etc/netplan/00-installer-config.yaml
It then logs an error with the subiquiti ErrorReporter and then iterates through:
While packer build tried to connect to SSH but keeps getting connection refused and eventually times out (after 1800secs).
Also, getting an error with starting the build when
parallels_tools_mode = "download"
I get an error thatparallels_tools_flavor = "lin-arm"
is not a recognised flavour. I have had to set it toparallels_tools_mode = "disable"
for the build to even start.Also had to set the version to
version = "22.04.5"
(latest Ubuntu 22.04) or else the build would fail as well.Anyone run into this?