6/30/2023 0 Comments Minion masters portal keysIf you use ready-to-run virtualisation images, you need something like the following. But you could still use cloud-init for fine tuning and additional configurations. If you install with YaST2 or autoyast, you don't need to configure the network, update channel, user accounts and passwords or something similar. Upstream documentation Example configuration for openSUSE MicroOS Allĭifferent ones have to be grouped together to one. There can only be one runcmd: statement in the user-data file. The keyboard layout is set to the German layout with nodeadkeys.Ĭonfiguration of the openSUSE Kubic kubeadm node is currently not implemented.Ĭonfiguration of an openSUSE Kubic Cluster Node with cloud-init is currently not implemented. usr/bin/localectl set-keymap de-latin1-nodeadkeys Upstream documentation Keyboard layout runcmd: systemd-timesyncd, chrony or other time services need to be disabled first. There can only be one time service running on a system at the same time. Additionally, the ntp service is enabled and started immediately. With this configuration, ntp is configured during the first boot to use three ntp servers. The Salt Minion is only available and used with openSUSE Kubic, not with openSUSE MicroOS NTP Server ntp: The value of timezone must exist in /usr/share/zoneinfo. This option adds an additional custom software repository to the system, in this case the Tumbleweed OSS and update repositories.Īll options valid for *.repo files for zypper are valid options. Here is how you can add a custom repository of your choice: Upstream documentation Add custom repository and configure zypper Instead of a clear text password it's also possible to specify a hashed password: The variableĮxpire defines, if the user as to change the password at theįirst login or not. This will set the password for root to linux. Ssh_pwauth: True allows to login via ssh with a password, ifĪ password is set. Ssh_authorized_keys adds the public ssh keys to theĪuthorized_keys file of of the default user. This is a bad idea, since ssh will complainĪbout changed or wrong keys the next time you try to login after the The default is True, which means existing keys will beĭeleted and new ones generated. ssh-rsa XXXKEY False tells cloud-init not to delete old private and public If you want to login with a root password and not only ssh keys,Īdd Authorized SSH Keys ssh_deletekeys: False In this example, the interface `eth0` is configured for dhcp.Ī static network configuration would look like:Īll user-data configuration files have to start with the Network configuration should be started automatically during boot phase. The auto eth0 in the network configuration part means, that the So ifĬhanges are made to the configuration, this has to be changed. The instance-id is used to determine if this is "first boot”. So this could be a ISO-image, USB-Stick or an unpartitioned harddisk. The filesystem volume label must be cidata. NoCloud will search on allĭevices, which do not contain a partition table and contain a vfat To setup the network to access configuration files on the network etc/cloud//91_kernel_cmdline_url.cfg and will notīe overwritten, even if the URL on the kernel commandline changes. # if found, then it should contain a url with: The NoCloud datasource can be configured to look for configurationĭata on a local storage or a remote network source.įor a remote network source, the URL needs to be specified during The required configuration files are meta-data, user-data and optional vendor-data, and must be located at the root of your local disk. This datasource reads the configuration files from the local disk. The following datasources are configured and called in this order: The system will be configured with cloud-init during the boot
0 Comments
Leave a Reply. |