项目作者: dmpe

项目描述 :
Fedora CoreOS ignition prototype for VMware Workstation - Bootstrap Rancher RKE2 ready VM based on Fedora CoreOS
高级语言: Shell
项目地址: git://github.com/dmpe/fedora-coreos-example.git
创建时间: 2021-05-22T11:30:53Z
项目社区:https://github.com/dmpe/fedora-coreos-example

开源协议:MIT License

下载


Fedora CoreOS @ VMware Workstation

main.sh downloads VMware OVA file with Fedora CoreOS and creates virtual machine for lab testing purposes.

Repository contains an ready-to-run example of butane.bu (ignition) file which boots up 1 single node VM on VMware Workstation, Virtual Box or Qemu.
Only VMware setup has been tested.

  1. chmod +x main.sh
  2. ./main.sh create --butane butane.bu --stream <testing,stage,next> --type <vmware|virtualbox|qemu>
  3. ./main.sh con

Requirements

  1. Installing VMware Workstation/VirtualBox/Qemu
  2. (For VMware Workstation) Building OVFTools docker container
  3. SSH Keys - dont use RSA type due to CoreOS (lack of) support for it.

OVFTools

Building tools using https://github.com/djui/docker-ovftool

  1. Download vmware ovftools binary to ovftools folder, from vmware support site.

https://developer.vmware.com/web/tool/4.4.0/ovf

Store .bundle file in ovftools folder.

  1. Build using:
  1. ./main.sh build

VMware Troubleshooting

See https://github.com/mkubecek/vmware-host-modules for building host modules.

Rancher with RKE 2

See butane.bu file.

Ansible for ESXi Servers

Was just for some testing. Not ready for production use - may not work.

  1. ansible-playbook ansible/main.yml -e 'vcenter_password=xxx'