fs> run >fs> list-filesystems /dev/sda1: ext4 >" />

“ubuntu教程”給ubuntu/centos/fedora cloud image設置ro

來源: 電腦維修教程   閱讀:     發表時間:

http://hj192837.blog.51cto.com/655995/1427750 1. aptitude -y install libguestfs-tools 2. guestfish --rw -a ubuntu-14.04-server-cloudimg-amd64-disk1.img >fs> run >fs> list-filesystems /dev/sda1: ext4 >

http://hj192837.blog.51cto.com/655995/1427750

1. aptitude -y install libguestfs-tools

2. guestfish --rw -a ubuntu-14.04-server-cloudimg-amd64-disk1.img

><fs> run

><fs> list-filesystems

/dev/sda1: ext4

><fs> mount /dev/sda1 /

><fs> edit /etc/ssh/sshd_config

permitrootlogin yes

passwordauthentication yes

><fs> exit

3. on horizon node (normally controller node)

vi /etc/openstack-dashboard/local_settings.py

openstack_hypervisor_feature = {

...

'can_set_password': true,

}

service apache2 restart; service memcached restart

4. on compute nodes:

vi /etc/nova/nova.conf

[libvirt]

inject_password=true

service nova-compute restart

5. now when you launch instance, you can set root password within dashboard

6. then you can login with publickey or root

以上是:解決“ubuntu教程”給ubuntu/centos/fedora cloud image設置ro問題的詳細資料教程

?
熱門鏈接: 機頂盒 | 主板維修 | 聲卡怎么安裝 | 路由器怎么設置 | 電腦內存維修技術 | 維修大全?| 主板維修資料 | 電腦聲卡音響故障維修 | 內存 | 顯示器 | 電源維修教程 | cpu | 硬盤 | 顯卡 |win8操作系統教程|linux操作系統教程|ubuntu操作系統教程|mac蘋果操作系統教程|execl教程
友情鏈接: ?蘋果手機維修?| 更多...
福彩30选5奖金多少