- [Show pagesource]
- [Old revisions]
- [[unknown link type]]
- []
This is an old revision of the document!
Table of Contents
Instalace KVM
TODO: udelat tutorial :)
Vytvoreni guesta
Debian 8
- Instalace guestu:
virt-install -n vps1 --ram=2048 --vcpus=2 --location='http://ftp.cz.debian.org/debian/dists/jessie/main/installer-amd64/' --disk path=/dev/shared_vg/vps1 --network bridge=br0 --os-type linux --console pty,target_type=serial --graphics none --os-variant generic --extra-args 'console=ttyS0,115200n8 serial'
- v grubu pridat do radky linux
console=tty0 console=ttyS0,115200
- do /etc/default/grub pridat do GRUB_CMDLINE_LINUX_DEFAULT “console=tty0 console=ttyS0,115200”
GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,115200"
Vzdaleny pristup
Pres certifikaty
https://libvirt.org/remote.html
- note: nepovedlo se mi rozbehat
Pres libvirt + ssh
import libvirt conn = libvirt.open("qemu+ssh://root@10.0.0.120") vps1 = conn.lookupByName("vps1") vps1.start() vps1.suspend() vps1.resume() vps1.shutdown() vps1.resume() conn.close()
Level 1 Headline
linux/kvm.1449497663.txt.gz · Last modified: 2015/12/07 15:14 by vondra