Skip to content

Ubuntu example not working for 22.04 on Parallels 20  #59

@Sergong

Description

@Sergong

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:

start: ubuquiti/Network/_send_update: CHANGE enp0s5
finish: ubuquiti/Network/_send_update: CHANGE enp0s5

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 that parallels_tools_flavor = "lin-arm" is not a recognised flavour. I have had to set it to parallels_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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions