diff --git a/features/orabosmetal3/README.md b/features/orabosmetal3/README.md new file mode 100644 index 000000000..d1ac0253c --- /dev/null +++ b/features/orabosmetal3/README.md @@ -0,0 +1,18 @@ +## Feature: orabos +### Description + +This platform feature creates an artifact for ORA Baremetal OS. Which is exposing a KVM hypervisor via kubernetes. + + +### Features +This feature creates a baremetal compatible image artifact as a `.qcow2` file. + +### Unit testing + +### Meta +||| +|---|---| +|type|platform| +|artifact|`.raw`,`.qcow2`| +|included_features|`kvm`,`khost`| +|excluded_features|None| diff --git a/features/orabosmetal3/file.include/etc/cloud/cloud.cfg.d/99_disable-network-config.cfg b/features/orabosmetal3/file.include/etc/cloud/cloud.cfg.d/99_disable-network-config.cfg new file mode 100644 index 000000000..f144451d1 --- /dev/null +++ b/features/orabosmetal3/file.include/etc/cloud/cloud.cfg.d/99_disable-network-config.cfg @@ -0,0 +1 @@ +network: {config: disabled} diff --git a/features/orabosmetal3/file.include/etc/kernel/cmdline.d/50-ignition.cfg b/features/orabosmetal3/file.include/etc/kernel/cmdline.d/50-ignition.cfg new file mode 100644 index 000000000..ad3beaeb5 --- /dev/null +++ b/features/orabosmetal3/file.include/etc/kernel/cmdline.d/50-ignition.cfg @@ -0,0 +1 @@ +CMDLINE_LINUX="$CMDLINE_LINUX ignition.firstboot=1 ignition.platform.id=openstack" diff --git a/features/orabosmetal3/info.yaml b/features/orabosmetal3/info.yaml new file mode 100644 index 000000000..156f4a356 --- /dev/null +++ b/features/orabosmetal3/info.yaml @@ -0,0 +1,5 @@ +description: "ORA Baremetal OS for Metal3" +type: element +features: + include: + - orabos diff --git a/features/orabosmetal3/pkg.exclude b/features/orabosmetal3/pkg.exclude new file mode 100644 index 000000000..db064e622 --- /dev/null +++ b/features/orabosmetal3/pkg.exclude @@ -0,0 +1 @@ +cloud-init diff --git a/features/orabosmetal3/test/capabilities.d/capabilities.list b/features/orabosmetal3/test/capabilities.d/capabilities.list new file mode 100644 index 000000000..249cef477 --- /dev/null +++ b/features/orabosmetal3/test/capabilities.d/capabilities.list @@ -0,0 +1 @@ +/usr/bin/arping cap_net_raw=ep diff --git a/features/orabosmetal3/test/test_packages_musthave.py b/features/orabosmetal3/test/test_packages_musthave.py new file mode 100644 index 000000000..4b2783d2c --- /dev/null +++ b/features/orabosmetal3/test/test_packages_musthave.py @@ -0,0 +1 @@ +from helper.tests.packages_musthave import packages_musthave as test_packages_musthave