variant: fcos version: 1.4.0 passwd: users: - name: cloud-user groups: - wheel password_hash: $y$j9T$90Mqu2Viusm6XbBpEBUW60$IF9ZBdoOtbJel4UxNLJDduWBj1ND93FdO5cTDndcXjB ssh_authorized_keys: - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC0qmodX8XO0wOtOv9NlRBdse06aYfQG7noTHuJdI2tiojuciCG/aNDxsaZUdnEhX/9FOJpop1p10NNZNvJdDu/yfTirqkSck8zpGQKpO87RzLqO4JVerOzB7Qs/xjpG/nS9u4r70DKKMLAovyVWlQSo93HcW4Y+3GYAAljH0YJewdDBQmuROlEXqMvaFThS3sGhAzHnt2jZ7ZrSKsXWUOJxNto+8gVVLuTHb58cwzfXkHzUP5XmD9TXrL4QwlkLvxFnE6hHp2N1vw1ZLYb3kiyv5LV6h0qTIlIS/JC5hv7uDk5iQSVwwtsissAKqY/a0Gj7V/l1YWwAQZ56PuXszgLLW8EHylWRxS8KpHCHeYF4P+PRyZvgKAvQ1ZJ5rXVOUHs/VNKljeF9yv4hAWPgNVbDzn/6O3QfLt46G2oQuZWt/Zp8Dj5vf6WUjul935jAhiKmIci8uAxLyvTWBBxN29B9N0z4NFUB3zIooKwX5RA08ChNvBtrd2Fgd5O57YJJK8= root@ibm-x3250m2-4.gsslab.rdu2.redhat.com systemd: units: - name: rpm-ostree-install-vim.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: # This defines two partitions, each on its own disk. The disks are # identified by their WWN. - device: /dev/disk/by-id/virtio-wwn-1 wipe_table: true partitions: - # Each partition gets a human-readable label. label: "raid.1.1" # Each partition is placed at the beginning of the disk and is 64 GiB # long. number: 1 size_mib: 8192 #start_mib: 0 - device: /dev/disk/by-id/virtio-wwn-2 wipe_table: true partitions: - label: "raid.1.2" number: 1 size_mib: 8192 #start_mib: 0 # We use the previously defined partitions as devices in a RAID1 md array. raid: - name: publicdata level: raid1 devices: - /dev/disk/by-partlabel/raid.1.1 - /dev/disk/by-partlabel/raid.1.2 # The resulting md array is used to create an EXT4 filesystem. filesystems: - path: /var/publicdata device: /dev/md/publicdata format: ext4 label: PUB with_mount_unit: true