Üdv!
Feltettem teszt jelleggel a gépemre egy Cloudmin-t.
Környzet:
Fedora 21 WS Linux x64
8GB RAM
Az automatikus scriptet használtam. A webmin/cloudmin webes felület be is jön.
Lekértem a webes felületen egy centos7 image-t is. Ok.
Az elején irogatta, hogy kellene neki egy bridge interface. Mivel a képen van KVM/qemu, ezért a virbr0 néven már létezett. Igaz nem állítottam be. Maradt az em1-nek az IP címe.
Létrehoztam egy centos7 VM-et:
Internet hostname: centos7-srv
System description: CentOS7 Server
Cloudmin system image: CentOS7.0 image 64-bit KVM instance with base OS
SSH login mode: Using password: *********
Managed by system owner: No owner
Default plan (5 systems, 1024Mb RAM, 10GB disk)
Memory allocated to instance: 1024MB
IP address for KVM instance: 192.168.1.111 255.255.255.0
Default gateway: From host system
~# ifconfig
em1: flags=4163 mtu 1500
inet 192.168.1.44 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::ba70:f4ff:fee0:d493 prefixlen 64 scopeid 0x20
ether b8:70:f4:e0:d4:93 txqueuelen 1000 (Ethernet)
RX packets 880256 bytes 607366441 (579.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 881745 bytes 406767692 (387.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16
lo: flags=73 mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 0 (Local Loopback)
RX packets 275782 bytes 233531448 (222.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 275782 bytes 233531448 (222.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tap0: flags=4163 mtu 1500
inet6 fe80::d82a:e3ff:fe1a:2a65 prefixlen 64 scopeid 0x20
ether da:2a:e3:1a:2a:65 txqueuelen 500 (Ethernet)
RX packets 25 bytes 4497 (4.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 889 bytes 50205 (49.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
virbr0: flags=4163 mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
inet6 fe80::5054:ff:fea1:12aa prefixlen 64 scopeid 0x20
ether 52:54:00:a1:12:aa txqueuelen 0 (Ethernet)
RX packets 179 bytes 30107 (29.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 53 bytes 7309 (7.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Majd "Create System" gomb:
centos7-srv.cloudmin.example.com
Copying 644.57 MB image file to system localhost ..
.. already on host
Creating virtual system with KVM ..
.. creation started with IP 192.168.1.111.
Waiting for creation to complete ...........................
.. creation has completed successfully.
Creating swap file of 1024 MB ..
.. creation failed : . The virtual system may not start up
Removing missing disks from fstab file ..
.. cleanup failed : Failed to read fstab file : No Linux partitions found in disk image /kvm//centos7-srv.cloudmin.example.com.img
Expanding filesystem to 5 GB ..
.. failed to find primary disk
Mounting new instance's filesystem ..
.. failed : No Linux partitions found in disk image /kvm//centos7-srv.cloudmin.example.com.img
Adding DNS entry centos7-srv.cloudmin.example.com. for IP address 192.168.1.111 ..
.. done
Starting up new KVM instance ..
.. failed to start : KVM instance was started, but could not be pinged after 60 seconds
Fetching current status ..
.. status successfully retrieved (Ping failed)
Re-fetching current status of host system localhost ..
.. status successfully retrieved (Webmin)
Tehát nem pingelhető, ehhez kellene gondolom a bridge beállítás.
A "virt-manager"-ben (importálom az image-t) viszont a megadott jelszóval a root nem tud belépni. Konzolt hogyan kaphatnék virt-manager nélkül?
Hogyan kellene ennek működnie?
--
G.