CoreOS Hyper-V 安裝

CoreOS Hyper-V 安裝, Install to disck

準備

安裝鏡像

https://coreos.com/releases/ 選擇版本, 點 Browse Images, 下載如下文件 (本文以 Alpha 爲例)html

  • coreos_production_iso_image.iso
  • coreos_production_image.bin.bz2
  • coreos_production_image.bin.bz2.sig

安裝相關工具

hfs.exe 其餘 HTTP 服務器git

配置文件github

cloud-config.yaml服務器

安裝

 

HTTP 配置ssh

 

在 Hyper-V 管理器中新建虛擬機工具

 

設置啓動 ISO 爲 coreos_production_iso_image.isospa

 

啓動虛擬機code

 

$ sudo su - root

切換管理員htm

$ sudo wget http://192.168.16.168:1008/cloud-config.yml

下載配置文件blog

 

$ coreos-install -d /dev/sda -C alpha -c cloud-config.yaml -b http://192.168.16.168:1008

安裝命令

$ reboot

安裝完成, 彈出 coreos_production_iso_image.iso, 重啓

備註: ssh key 生成, ssh client 配置請搜索

相關文章
相關標籤/搜索