User Tools

Site Tools


k8s:linux_vm:set_up_flatcar-linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
k8s:linux_vm:set_up_flatcar-linux [2023/11/14 21:43] admink8s:linux_vm:set_up_flatcar-linux [2023/11/14 22:43] (current) admin
Line 60: Line 60:
   files:   files:
     - path: /etc/hostname     - path: /etc/hostname
-      filesystem: root 
       mode: 0644       mode: 0644
       contents:       contents:
Line 87: Line 86:
           Address=10.6.16.xx/24           Address=10.6.16.xx/24
     - path: /etc/flatcar/update.conf     - path: /etc/flatcar/update.conf
-      content:+      contents:
         inline: |         inline: |
           REBOOT_STRATEGY="reboot"           REBOOT_STRATEGY="reboot"
           LOCKSMITHD_REBOOT_WINDOW_START="Thu 04:00"           LOCKSMITHD_REBOOT_WINDOW_START="Thu 04:00"
           LOCKSMITHD_REBOOT_WINDOW_LENGTH="1h"           LOCKSMITHD_REBOOT_WINDOW_LENGTH="1h"
 +      overwrite: true
 systemd: systemd:
   units:   units:
Line 149: Line 149:
 ```bash ```bash
 cat acdh-clusterx.yaml | podman run --rm -i quay.io/coreos/butane:latest > /var/lib/libvirt/qemu/nvram/flatcar-linuxX-provision-ign_VARS.fd cat acdh-clusterx.yaml | podman run --rm -i quay.io/coreos/butane:latest > /var/lib/libvirt/qemu/nvram/flatcar-linuxX-provision-ign_VARS.fd
 +sudo chown libvirt-qemu:kvm /var/lib/libvirt/qemu/nvram/flatcar-linuxX-provision-ign_VARS.fd
 ``` ```
 Create the virutal machine, 2 disks, the qcow2 and a rancher partition of about 20GB   Create the virutal machine, 2 disks, the qcow2 and a rancher partition of about 20GB  
k8s/linux_vm/set_up_flatcar-linux.1699994607.txt.gz · Last modified: by admin