- create a scaleway instance, let's call it
centos-builder
- Ubuntu Trusty on a C2S is ok
- make sure to add an additional 50gb volume
- upload
centos-root.fsa
tocentos-builder
- install FSArchiver
apt-get install fsarchiver
- extract it on
/dev/nbd1
fsarchiver -v restfs centos-root.fsa id=0,dest=/dev/nbd1
- shut the machine down from Scaleway's web UI
- create a snapshot from the
nbd1
volume - go to "Snapshots" section, select it and click on "Image from Snapshot" *
- create a new machine, and choose that image from "My Images"
- boot it up
- optionally, you may want to add additional public keys in
/root/.ssh/instance_keys
and then runscw-fetch-keys
- I'm pretty sure there's a shorter path to attaching this image as a volume
Nice! Here is our official repo, feel free to contribute!
https://github.com/scaleway/image-centos