linux – 在单台机器上安装CoreOS

前端之家收集整理的这篇文章主要介绍了linux – 在单台机器上安装CoreOS前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我如何在一台机器上安装CoreOS作为主机操作系统? @H_403_2@我已阅读“Installing CoreOS to Disk”并从Debian和CentOS live CD运行coreos-install脚本,但两者似乎都错过了脚本需要加载配置文件的lsblk命令的-p参数.即使在我更新了util-linux之后,它仍然无法正常工作.

@H_403_2@使用Live CD是正确的方法吗?在我的情况下,PXE不是一个选项.

@H_403_2@解决方案:最后我使用了最新的Arch linux live cd,运行正常.

$wget https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install
$sudo bash coreos-install -d /dev/sda
$mkdir rootfs
$mount -t btrfs -o subvol=root /dev/sda9 rootfs #sda9 is the default root partition
$mkdir -p rootfs/var/lib/coreos-install
$wget http://bit.ly/abcd  #the location of your cloud config file
$mv abcd rootfs/var/lib/coreos-install/user_data

解决方法

在util-linux 2.24中看起来-p(交替–paths)是 added.您是否尝试过使用该版本的实时系统?
原文链接:https://www.f2er.com/linux/396057.html

猜你在找的Linux相关文章