# Requirements for cloning Option in vmware node-template

**URL:** <https://forums.suse.com/t/requirements-for-cloning-option-in-vmware-node-template/17651>\
**Category:** SUSE Rancher Prime\
**Created:** [June 5, 2020, 10:09am UTC](https://forums.suse.com/t/requirements-for-cloning-option-in-vmware-node-template/17651 "2020-06-05T10:09:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heiko-san](https://avatars.discourse-cdn.com/v4/letter/h/46a35a/32.png) [@Heiko-san](https://forums.suse.com/u/Heiko-san)\
**Post date:** [June 5, 2020, 10:09am UTC](https://forums.suse.com/t/requirements-for-cloning-option-in-vmware-node-template/17651/1 "2020-06-05T10:09:22Z")

</div>

Hi,

I’m using vsphere based clusters, which works (more or less) well with rancher-os.  
Now I’m trying to use the method “Clone an existing virtual machine”.

The machine I’m cloning is a centos 8 minimal installation with cloudinit and sshd preinstalled.  
The process gets to the point “Waiting for SSH” and then times out, but ssh access ist possible at this point.

So I guess I need to meet some requirements like e.g. a special username and/or password or ssh-key must be present?  
I can’t seem to find the “vmware clone requirements” anywhere in the documentation.

Can you please provide them or point me to the page where they are provided?

---

<div class="post-metadata">

**Author:** ![Heiko-san](https://avatars.discourse-cdn.com/v4/letter/h/46a35a/32.png) [@Heiko-san](https://forums.suse.com/u/Heiko-san)\
**Post date:** [June 5, 2020, 1:21pm UTC](https://forums.suse.com/t/requirements-for-cloning-option-in-vmware-node-template/17651/2 "2020-06-05T13:21:36Z")

</div>

Finally got it to work:

- I had to change a cloud-init config like so:

```auto
diff -Naur /root/99-DataSourceVMwareGuestInfo.cfg /etc/cloud/cloud.cfg.d/99-DataSourceVMwareGuestInfo.cfg
--- /root/99-DataSourceVMwareGuestInfo.cfg 2020-06-05 13:20:12.048172694 +0200
+++ /etc/cloud/cloud.cfg.d/99-DataSourceVMwareGuestInfo.cfg 2020-06-05 13:54:06.875930704 +0200
@@ -10,4 +10,4 @@
 # terms and conditions of the subcomponent's license, as noted in the LICENSE
 # file.
 
-datasource_list: ["VMwareGuestInfo"]
+datasource_list: ["NoCloud", "VMwareGuestInfo"]

```

- and had to preinstall docker like described here: [https://kofler.info/docker-unter-centos-8-und-fedora-31-installieren/](https://kofler.info/docker-unter-centos-8-und-fedora-31-installieren/)

```auto
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum -y install https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.10-3.2.el7.x86_64.rpm
yum install docker-ce
systemctl enable --now docker

```

Since this will install some centos7 packages, I’m not sure if I really want to do this on production machines.  
Any suggestions for improvement?

- another requirement seems to be growpart, to not run into disk space issues while provisioning

```auto
yum install cloud-utils-growpart

```

```auto
#cloud-config
growpart:
    mode: growpart
    devices: ["/"]
    ignore_growroot_disabled: false

```

-\> the latter actually doesn’t seem to work
