Skip to content

Instantly share code, notes, and snippets.

@nachokb
Last active March 16, 2017 07:11
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nachokb/f33a97439bf64d34fb7e to your computer and use it in GitHub Desktop.
Save nachokb/f33a97439bf64d34fb7e to your computer and use it in GitHub Desktop.
Instruction for running CentOS 6.7 on Scaleway's C2
  1. create a scaleway instance, let's call it centos-builder
  2. Ubuntu Trusty on a C2S is ok
  3. make sure to add an additional 50gb volume Screenshot_from_2016-03-11_02-19-22
  4. upload centos-root.fsa to centos-builder
  5. install FSArchiver
  6. apt-get install fsarchiver
  7. extract it on /dev/nbd1
  8. fsarchiver -v restfs centos-root.fsa id=0,dest=/dev/nbd1
  9. shut the machine down from Scaleway's web UI
  10. create a snapshot from the nbd1 volume Screenshot_from_2016-03-11_04-32-55
  11. go to "Snapshots" section, select it and click on "Image from Snapshot" *
  12. create a new machine, and choose that image from "My Images"
  13. boot it up
  14. optionally, you may want to add additional public keys in /root/.ssh/instance_keys and then run scw-fetch-keys
  • I'm pretty sure there's a shorter path to attaching this image as a volume
@bchatelard
Copy link

Nice! Here is our official repo, feel free to contribute!
https://github.com/scaleway/image-centos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment