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 · 6609 次点击
    这是一个创建于 3762 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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   ·   实用小工具   ·   946 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 20:41 · PVG 04:41 · LAX 12:41 · JFK 15:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.