Automation of the entrance to the packer for subsequent machine boot after boot?

I use Packer to automate Ubuntu-12.04.4-lts machine image building (currently targeting Virtualbox as runtime). I can configure the base computer — my file preseed.cfgis being read — and Ubuntu is installed, but I end up running a manual password hint (see the figure below).

This prevents my various scripts from running after boot, SSH becomes available and (most importantly) Packer from starting the Vagrant postprocessor and creating a Vagrant box from the system.

How can I automate the navigation / execution of these initial credentials?

Many thanks.

Manual login credential prompt

+4

Source: https://habr.com/ru/post/1535490/


All Articles