Hi everyone,
I'm trying to use Packer to build an AWS AMI of FreeBSD 13.2 with the root filesystem on an ZFS mirror.
I've tried using both a
However, if I log into the running source instance over ssh and run the
I suspect there might an odd interaction between
Any ideas?
Is there an option to turn off the use of
With thanks,
Jarvis
I'm trying to use Packer to build an AWS AMI of FreeBSD 13.2 with the root filesystem on an ZFS mirror.
I've tried using both a
bsdinstall
script and a shell script which invokes the individual bsdinstall
commands in sequence. In both cases, the Packer shell provisioner detects an error during bsdinstall distextract
and aborts the build.However, if I log into the running source instance over ssh and run the
bsdinstall
script or the shell script manually, everything works as expected.I suspect there might an odd interaction between
dialog
and the Packer shell provisioner, or perhaps something odd in the ssh session that Packer uses, but I don't know where to start looking for further clues...Any ideas?
Is there an option to turn off the use of
dialog
somehow?With thanks,
Jarvis