- A clean install of Fedora Workstation/Server
- Podman installed
- ~/.gitconfig configured with token auth
- There is no critical data on the hypervisor system
- Run all cmds as root
- Configure root to be able to ssh to itself SSH to localhost
These playbooks represent rough Sparta developer enablement tools and should be considered "work-in-progress". This component of devkit enables sparta ocp builds on modest hardware via the linux hypervisor layers {{ libvirt,kvm,qemu }}
git clone https://github.com/CodeSparta/devkit.git -b master /root/devkit && cd /root/devkit
tmux
source tools/dev.sh
cd ./lab && ./network-setup.yml -vv
./hypervisor-setup.yml -vv
exit
mkdir -p /tmp/openwrt && rm -rf /tmp/openwrt/* && sudo podman run --privileged --rm -it --name openwrt_builder --volume /tmp/openwrt:/root/bin:z containercraft/ccio-openwrt-builder:19.07.4
source tools/dev.sh
cd ./lab && ./gateway-setup.yml -vv
exit
bash
lxc image import /tmp/openwrt/openwrt-19.07.4-x86-64-lxd.tar.gz --alias openwrt/19.07.4/x86_64
lxc init openwrt/19.07.4/x86_64 gateway -p openwrt
lxc file push -r /tmp/openwrt/config gateway/etc/
lxc start gateway
watch -c lxc list
lxc exec gateway passwd
- Login to the OpenWRT WebUI @ the 'eth0' IP address with
http://${address}:8081