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-python3.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 disks: - # Mandatory. We use the World-Wide Number ID of the drive to ensure # uniqueness. device: /dev/disk/by-id/virtio-wwn-1 # This ensures that the partition table is re-created, along with all # the partitions. wipe_table: true partitions: # The first partition (slot number 1) is 32 GiB and starts at the # beginning of the device. Its type_guid identifies it as a Linux # swap partition. - label: part1 number: 1 size_mib: 5120 start_mib: 0 type_guid: 0657fd6d-a4ab-43c4-84e5-0933c84b4f4f # The second partition (implicit slot number 2) will be placed after # partition 1 and will occupy the rest of the available space. # Since type_guid is not specified, it will be a Linux native # partition. - label: part2