Hi guys,
I just want to clone a KVM Debian 9 virtual machine, it's just a stock image.
I'm trying with cloud-init, I need for each cloned machine different hostname and IP address (manually setted), obviously different MAC address.
I also need to execute a command and after that reboot the VM.
I'm having a lot of problem with cloud init, it added tmpfiles clean, changed the timezone, locale, ecc. and I don't want all of that, I just want different hostname, IP and the script executed.
How can I do? Are there simplest way to achieve that?
I just want to clone a KVM Debian 9 virtual machine, it's just a stock image.
I'm trying with cloud-init, I need for each cloned machine different hostname and IP address (manually setted), obviously different MAC address.
I also need to execute a command and after that reboot the VM.
I'm having a lot of problem with cloud init, it added tmpfiles clean, changed the timezone, locale, ecc. and I don't want all of that, I just want different hostname, IP and the script executed.
How can I do? Are there simplest way to achieve that?