Migrate from Google Cloud to Proxmox

Tarek Damak

New Member
Dec 19, 2016
22
0
1
30
Hello ,

We have something like 2 months that we are using Proxmox in our company and it really works good ,
so we decided to migrate our VMs hosted on google cloud to our Proxmox Server .
I tried but i failed ,
actually i achieved to clone the VM in the Proxmox Server and it works , but i have some SSH certificates problems ...
Anyone knows the best practice to Clone G.Cloud to Proxmox ?
 
I do not have the answer. For SSH, try to remove SSH server keys and reboot node (works almost in any case/distro).
For debian based distro, do :
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server
The host keys will be regenerated.

Anyway, a clone is a byte to byte copy. Do not forget to change/verify for a new VM :
- ip config
- hostname (found in many conf files, ex :
/etc/exim4/update-exim4.conf.conf \
/etc/printcap \
/etc/hostname \
/etc/hosts \
/etc/motd \
/etc/ssmtp/ssmtp.conf \
/etc/mailname)
- /etc/hosts
- ssh keys