學術及資源的交流園地 ^_^

chkconfig

最後更新: 2019-06-13

 

Cloud Images with KVM (cloud-init)

最後更新: 2019-06-11

介紹

 

原理:

VM Image 預裝了cloud-init, 我們將 config 放到 iso 內

在 VM 第一次啟動時讓 cloud-init 去設定它

cloud-init 的 Boot Stages

Generator   

# 決定是否行 cloud-init

 - A file exists: /etc/cloud/cloud-init.disabled

 - /proc/cmdline contains cloud-init=disabled

Local           

# cloud-init-local.service

# As soon as possible with / mounted read-write

 - locate “local” data sources

 - apply networking configuration to the system

Network     

# cloud-init.service

# After local stage and configured networking is up

# runs modules:  disk_setup, mounts, bootcmd ...

Config         

# cloud-config.service

# After network stage

 - runs config modules only (cloud_config_modules in /etc/cloud/cloud.cfg)

Final             

# cloud-final.service

此 step 會執行 user-scripts (including runcmd)

 

aria2

最後更新: 2019-06-10

介紹

 

High speed download utility

支援 HTTP(S), FTP, SFTP, BitTorrent, Metalink.

 

cloud

 

 

 

RSS feed