cloud-init 典型應用 - 每天5分鐘玩轉 OpenStack(174)

本節介紹幾個 cloud-init 的典型應用:設置 hostanme,設置用戶初始密碼,安裝軟件。  設置 hostname cloud-init 默認會將 instance 的名字設置爲 hostname。但這樣不太方便,有時希望能夠將二者分開,可利用 cloud-init 的set_hostname 模塊實現。set_hostname 它會查詢 metadata 中 hostname 信息,
相關文章
相關標籤/搜索