diff --git a/docs/rancher-vmware.md b/docs/rancher-vmware.md index e037a0df7..68d9503e5 100644 --- a/docs/rancher-vmware.md +++ b/docs/rancher-vmware.md @@ -9,6 +9,7 @@ title: '' import Registration from "!!raw-loader!@site/examples/quickstart/registration.yaml" import SeedImage from "!!raw-loader!@site/examples/quickstart/seedimage.yaml" +import SeedImageVM from "!!raw-loader!@site/examples/quickstart/seedimage-vm-tools.yaml" # How to use Elemental with Rancher and VMware @@ -75,6 +76,14 @@ You can download it with: wget --no-check-certificate --content-disposition $(kubectl get seedimages.elemental.cattle.io -n fleet-default fire-img -o jsonpath="{.status.downloadURL}") ``` +:::tip + +When using the baremetal iso/raw image you can enable the vmtoolsd systemd-unit in the seedimage. Consider the following example: + +{SeedImageVM} + +::: + ## Step 3: Boot the target device Now ideally you would just burn the iso to a usb drive and boot your edge device using the usb device and once it boots and become active in Rancher under machine inventory you can select and create a cluster from it, however here we will use a vm to mimic an edge device for testing. diff --git a/examples/quickstart/seedimage-vm-tools.yaml b/examples/quickstart/seedimage-vm-tools.yaml new file mode 100644 index 000000000..e5916624f --- /dev/null +++ b/examples/quickstart/seedimage-vm-tools.yaml @@ -0,0 +1,21 @@ +apiVersion: elemental.cattle.io/v1beta1 +kind: SeedImage +metadata: + name: fire-img + namespace: fleet-default +spec: + baseImage: registry.suse.com/suse/sl-micro/6.0/baremetal-os-container:2.1.1-3.29 + cloud-config: + write_files: + - content: | + name: "Enable vmtoolsd.service" + stages: + after-install-chroot: + - commands: + - systemctl enable vmtoolsd.service + path: /etc/elemental/config.d/install-hook.yaml + registrationRef: + apiVersion: elemental.cattle.io/v1beta1 + kind: MachineRegistration + name: fire-nodes + namespace: fleet-default diff --git a/versioned_docs/version-1.6/rancher-vmware.md b/versioned_docs/version-1.6/rancher-vmware.md index c814ace59..4ddf02709 100644 --- a/versioned_docs/version-1.6/rancher-vmware.md +++ b/versioned_docs/version-1.6/rancher-vmware.md @@ -9,6 +9,7 @@ title: '' import Registration from "!!raw-loader!./examples/quickstart/registration.yaml" import SeedImage from "!!raw-loader!./examples/quickstart/seedimage.yaml" +import SeedImageVM from "!!raw-loader!@site/examples/quickstart/seedimage-vm-tools.yaml" # How to use Elemental with Rancher and VMware @@ -75,6 +76,14 @@ You can download it with: wget --no-check-certificate --content-disposition $(kubectl get seedimages.elemental.cattle.io -n fleet-default fire-img -o jsonpath="{.status.downloadURL}") ``` +:::tip + +When using the baremetal iso/raw image you can enable the vmtoolsd systemd-unit in the seedimage. Consider the following example: + +{SeedImageVM} + +::: + ## Step 3: Boot the target device Now ideally you would just burn the iso to a usb drive and boot your edge device using the usb device and once it boots and become active in Rancher under machine inventory you can select and create a cluster from it, however here we will use a vm to mimic an edge device for testing. diff --git a/versioned_docs/version-1.7/rancher-vmware.md b/versioned_docs/version-1.7/rancher-vmware.md index e037a0df7..68d9503e5 100644 --- a/versioned_docs/version-1.7/rancher-vmware.md +++ b/versioned_docs/version-1.7/rancher-vmware.md @@ -9,6 +9,7 @@ title: '' import Registration from "!!raw-loader!@site/examples/quickstart/registration.yaml" import SeedImage from "!!raw-loader!@site/examples/quickstart/seedimage.yaml" +import SeedImageVM from "!!raw-loader!@site/examples/quickstart/seedimage-vm-tools.yaml" # How to use Elemental with Rancher and VMware @@ -75,6 +76,14 @@ You can download it with: wget --no-check-certificate --content-disposition $(kubectl get seedimages.elemental.cattle.io -n fleet-default fire-img -o jsonpath="{.status.downloadURL}") ``` +:::tip + +When using the baremetal iso/raw image you can enable the vmtoolsd systemd-unit in the seedimage. Consider the following example: + +{SeedImageVM} + +::: + ## Step 3: Boot the target device Now ideally you would just burn the iso to a usb drive and boot your edge device using the usb device and once it boots and become active in Rancher under machine inventory you can select and create a cluster from it, however here we will use a vm to mimic an edge device for testing. diff --git a/versioned_docs/version-1.8/rancher-vmware.md b/versioned_docs/version-1.8/rancher-vmware.md index e037a0df7..68d9503e5 100644 --- a/versioned_docs/version-1.8/rancher-vmware.md +++ b/versioned_docs/version-1.8/rancher-vmware.md @@ -9,6 +9,7 @@ title: '' import Registration from "!!raw-loader!@site/examples/quickstart/registration.yaml" import SeedImage from "!!raw-loader!@site/examples/quickstart/seedimage.yaml" +import SeedImageVM from "!!raw-loader!@site/examples/quickstart/seedimage-vm-tools.yaml" # How to use Elemental with Rancher and VMware @@ -75,6 +76,14 @@ You can download it with: wget --no-check-certificate --content-disposition $(kubectl get seedimages.elemental.cattle.io -n fleet-default fire-img -o jsonpath="{.status.downloadURL}") ``` +:::tip + +When using the baremetal iso/raw image you can enable the vmtoolsd systemd-unit in the seedimage. Consider the following example: + +{SeedImageVM} + +::: + ## Step 3: Boot the target device Now ideally you would just burn the iso to a usb drive and boot your edge device using the usb device and once it boots and become active in Rancher under machine inventory you can select and create a cluster from it, however here we will use a vm to mimic an edge device for testing.