It’s common to see this file named seed, but not aĬloud-localds is focused on cloud-init but works for Autoinstallation too. To create an ISO with autoinstall configuration, navigate to the directory where the user-data file exists and run: This will enable logging in via SSH once the VM is created. Note: replace the ssh_authorized_keys content with the content of your public SSH key. This network configuration will set a static IP address of 192.168.0.137 for the server. I’m using match.name: en* to prevent having to know the ethernet interface name in advance. The network section matches the Netplan configuration. The network block is a little wonky and the duplicate network is intentional and required due to a bug. Within the user-data, we’reĬreating the dustin user that may only login via SSH. I’m using this to prevent having to set a password for a default user. The user-data key allows us to use cloud-init configuration. The Autoinstallation documentation describes other available configuration options.
0 Comments
Leave a Reply. |