mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-27 18:18:41 +00:00
- Introduce tinkerbell essentials - Introduce bootbox <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit # Release Notes: BootBox Package (v0.1.0) ## New Features - Added BootBox, a PXE hardware provisioning service. - Introduced network boot configuration with Matchbox and Smee. - Enabled hardware management through Kubernetes Custom Resource Definitions. - Added support for managing physical machine specifications and configurations. - New HelmRelease configuration for streamlined deployment. - Added new application entry for BootBox in the configuration. ## Configuration - Supports configuring physical machine instances. - Provides flexible network boot and DHCP settings. - Includes role-based access control (RBAC) configurations. - New parameters for trusted proxies and syslog settings. - Enhanced configuration options for deployment parameters and resource allocations. - Introduced new schema for validating configuration values. ## Deployment - Deployed in `tenant-root` namespace. - Optional and privileged installation. - Depends on Cilium and KubeOVN networking components. - Configurable deployment strategies and resource allocations. - Introduced new Service and Ingress resources for improved traffic management. - Added support for host networking and public IP configurations. ## Compatibility - Supports single-node and multi-node cluster configurations. - Compatible with Kubernetes environments. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
19 lines
645 B
Bash
19 lines
645 B
Bash
apk add iptables iproute2 qemu-system-x86_64 qemu-img
|
|
|
|
iptables -t nat -D POSTROUTING -s 10.8.2.0/24 ! -d 10.8.2.0/24 -j MASQUERADE 2>/dev/null || true
|
|
iptables -t nat -A POSTROUTING -s 10.8.2.0/24 ! -d 10.8.2.0/24 -j MASQUERADE
|
|
|
|
ip link del tap0 2>/dev/null || true
|
|
ip tuntap add dev tap0 mode tap
|
|
ip link set tap0 up
|
|
ip addr add 10.8.2.1/24 dev tap0
|
|
|
|
|
|
rm -f data.img
|
|
qemu-img create data.img 100G
|
|
|
|
qemu-system-x86_64 -machine type=pc,accel=kvm -cpu host -smp 4 -m 8192 \
|
|
-device virtio-net,netdev=net0,mac=d6:fa:af:52:25:93 -netdev tap,id=net0,ifname=tap0,script=no,downscript=no \
|
|
-drive file=data.img,if=virtio,format=raw \
|
|
-nographic
|