variant: fcos version: 1.4.0 passwd: users: - name: cloud-user groups: - wheel password_hash: $y$j9T$90Mqu2Viusm6XbBpEBUW60$IF9ZBdoOtbJel4UxNLJDduWBj1ND93FdO5cTDndcXjB ssh_authorized_keys: systemd: units: - name: rpm-ostree-install-python.service enabled: true contents: | [Unit] Description=Layer vim with rpm-ostree Wants=network-online.target After=network-online.target # We run before `zincati.service` to avoid conflicting rpm-ostree # transactions. Before=zincati.service ConditionPathExists=!/var/lib/%N.stamp [Service] Type=oneshot RemainAfterExit=yes # `--allow-inactive` ensures that rpm-ostree does not return an error # if the package is already installed. This is useful if the package is # added to the root image in a future Fedora CoreOS release as it will # prevent the service from failing. ExecStart=/usr/bin/rpm-ostree install --apply-live --allow-inactive python3 ConditionPathExists=!/var/lib/%N.stamp [Install] WantedBy=multi-user.target storage: files: - path: /etc/ssh/sshd_config.d/20-enable-passwords.conf mode: 0644 contents: inline: | # Fedora CoreOS disables SSH password login by default. # Enable it. # This file must sort before 40-disable-passwords.conf. PasswordAuthentication yes - path: /etc/NetworkManager/system-connections/enp1s0.nmconnection mode: 0600 contents: inline: | [connection] id=enp1s0 type=ethernet interface-name=enp1s0 [ipv4] address1=192.168.122.145/24,192.168.122.1 dhcp-hostname=myhostname dns=127.0.0.53; dns-search= may-fail=false method=manual - path: /etc/NetworkManager/conf.d/noauto.conf mode: 0644 contents: inline: | [main] # Do not do automatic (DHCP/SLAAC) configuration on ethernet devices # with no other matching connections. no-auto-default=*