Closed radekg closed 3 years ago
The next step is to reimplement the SSHKeyInjectingHandler
as PseudoCloudInitHandler
. The handler should allow:
hostname
to /etc/hostname
file, if setting not empty/etc/profile.d/bootstrap-env.sh
file: investigate https://github.com/combust-labs/gotenv/etc/hosts
to the default value127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
This will have to updated at a later stage to inject an IPAM allocated VMM IP address but this will require manually allocating the IP and handing it over to the VMM so the VMM knows its own IP.
Implementation of #5.