V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Recommended Services
Amazon Web Services
LeanCloud
New Relic
ClearDB
suifengdaren
V2EX  ›  云计算

How do I install CoreOS on Linode?

  •  
  •   suifengdaren · 2014-08-06 03:13:26 +08:00 · 6487 次点击
    这是一个创建于 3554 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Rebuild your Linode using Debian 7.5 x64 and set the size to 1GB (we need this partition for GRUB) Set the root password to anything, as you won't ever boot Debian again.

    Create a raw disk, spanning the rest of the Linode called 'CoreOS'; add this to the profile in between the swap and Debian disk.

    Boot your Linode and SSH into it as root.

    wget the CoreOS installer to a directory on your debian install. Create a cloud-config.yaml with your private key (directions here)

    Run ./coreos-install -d /dev/xvdb -c cloud-config.yaml

    After the script succeeds, run the following:

    mkdir /mnt/core-boot
    rm -rf /boot/grub
    mv /mnt/core-boot/boot/grub /boot
    Now run vi /boot/grub/menu.lst. Change all instances of root (hd0,0) to root (hd1,0) On the next boot, you can log into Core by running ssh core@<yourserver-ip>. The SSH key you added before will allow you to log in.
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3281 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 11:30 · PVG 19:30 · LAX 04:30 · JFK 07:30
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.