Skip to content

Instantly share code, notes, and snippets.

@bh7cw
Created July 17, 2020 20:07
Show Gist options
  • Save bh7cw/98590e8464a891d12157d4a0072a81e7 to your computer and use it in GitHub Desktop.
Save bh7cw/98590e8464a891d12157d4a0072a81e7 to your computer and use it in GitHub Desktop.
Works on FCOS and RHCOS. "device: /dev/vda" depends on the device we are using, maybe vda, sda, xvda
variant: fcos
version: 1.1.0
passwd:
users:
- name: core
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCsXe6CfHl45kCIzMF90VhDf2NpBWUyS1+IiTtxm5a83mT9730Hb8xim7GYeJu47kiESw2DAN8vNJ/Irg0apZ217ah2rXXjPQuWYSXuEuap8yLBSjqw8exgqVj/kzW+YqmnHASxI13eoFDxTQQGzyqbqowvxu/5gQmDwBmNAa9bT809ziB/qmpS1mD6qyyFDpR23kUwu3TkgAbwMXBDoqK+pdwfaF9uo9XaLHNEH8lD5BZuG2BeDafm2o76DhNSo83MvcCPNXKLxu3BbX/FCMFO6O8RRqony4i91fEV1b8TbXrbJz1bwEYEnJRvmjnqI/389tQFeYvplXR2WdT9PCKyEAG+j8y6XgecIcdTqV/7gFfak1mp2S7mYHZDnXixsn3MjCP/cIxxJVDitKusnj1TdFqtSXl4tqGccbg/5Sqnt/EVSK4bGwwBxv/YmE0P9cbXLxuEVI0JYzgrQvC8TtUgd8kUu2jqi1/Yj9IWm3aFsl/hhh8YwYrv/gm7PV0TxkM= jingzhan@localhost.localdomain
storage:
disks:
- device: /dev/vda
partitions:
- number: 0
label: var-log
size_mib: 0
start_mib: 0
filesystems:
- device: /dev/disk/by-partlabel/var-log
path: /var/log
format: xfs
wipe_filesystem: true
with_mount_unit: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment