k8s:linux_vm:set_up_flatcar-linux
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| k8s:linux_vm:set_up_flatcar-linux [2023/10/19 22:41] – admin | k8s:linux_vm:set_up_flatcar-linux [2023/11/14 22:43] (current) – admin | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| Upload a version of flatcar_production_vmware_ova_image.vmdk to one of the VM hosts. Instead of [current](https:// | Upload a version of flatcar_production_vmware_ova_image.vmdk to one of the VM hosts. Instead of [current](https:// | ||
| - | a [previous stable release](https:// | + | a [previous stable release](https:// |
| Remove any disks. Add the `flatcar_production_vmware_ova_image.vmdk` as the first disk (system, sda) and add a second thin provisionen 230 GB disk (container ephemeral, sdb). | Remove any disks. Add the `flatcar_production_vmware_ova_image.vmdk` as the first disk (system, sda) and add a second thin provisionen 230 GB disk (container ephemeral, sdb). | ||
| Line 42: | Line 42: | ||
| ```yaml | ```yaml | ||
| variant: flatcar | variant: flatcar | ||
| - | version: 1.1.0 | + | version: 1.0.0 |
| passwd: | passwd: | ||
| users: | users: | ||
| Line 60: | Line 60: | ||
| files: | files: | ||
| - path: / | - path: / | ||
| - | filesystem: root | ||
| mode: 0644 | mode: 0644 | ||
| contents: | contents: | ||
| Line 75: | Line 74: | ||
| Address=10.3.6.xx/ | Address=10.3.6.xx/ | ||
| Gateway=10.3.6.1 | Gateway=10.3.6.1 | ||
| - | DNS=192.168.1.250 | + | DNS=192.168.1.1 |
| Domains=servants.priv | Domains=servants.priv | ||
| - | | + | # |
| - path: / | - path: / | ||
| contents: | contents: | ||
| Line 87: | Line 86: | ||
| Address=10.6.16.xx/ | Address=10.6.16.xx/ | ||
| - path: / | - path: / | ||
| - | | + | |
| inline: | | inline: | | ||
| REBOOT_STRATEGY=" | REBOOT_STRATEGY=" | ||
| LOCKSMITHD_REBOOT_WINDOW_START=" | LOCKSMITHD_REBOOT_WINDOW_START=" | ||
| LOCKSMITHD_REBOOT_WINDOW_LENGTH=" | LOCKSMITHD_REBOOT_WINDOW_LENGTH=" | ||
| + | overwrite: true | ||
| systemd: | systemd: | ||
| units: | units: | ||
| Line 145: | Line 145: | ||
| qemu-img create -f qcow2 -F qcow2 -b flatcar_production_qemu_image.img flatcar-linux1.qcow2 | qemu-img create -f qcow2 -F qcow2 -b flatcar_production_qemu_image.img flatcar-linux1.qcow2 | ||
| chown libvirt-qemu: | chown libvirt-qemu: | ||
| + | ``` | ||
| + | Create the configuration (use the YAML from above) | ||
| + | ```bash | ||
| + | cat acdh-clusterx.yaml | podman run --rm -i quay.io/ | ||
| + | sudo chown libvirt-qemu: | ||
| + | ``` | ||
| + | Create the virutal machine, 2 disks, the qcow2 and a rancher partition of about 20GB | ||
| + | At the end add the following XML | ||
| + | ```xml | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| ``` | ``` | ||
k8s/linux_vm/set_up_flatcar-linux.1697748104.txt.gz · Last modified: by admin