Migrate from Google Cloud to Proxmox

Tarek Damak

New Member
Dec 19, 2016
22
0
1
29
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!