Skip to content

Instantly share code, notes, and snippets.

@hagix9
Created August 22, 2014 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hagix9/25a42aef68c2498476d2 to your computer and use it in GitHub Desktop.
Save hagix9/25a42aef68c2498476d2 to your computer and use it in GitHub Desktop.
uvt-kvm Ubuntuで簡単に仮想マシンを利用するコマンド
1. インストール
apt-get -y install uvtool
2. イメージの用意
uvt-simplestreams-libvirt sync arch=amd64
単品の場合は
uvt-simplestreams-libvirt sync release=trusty arch=amd64
3. SSHのための鍵の用意
ssh-keygen
4. VMの利用
作成
uvt-kvm create stack01
出来るまで待機
uvt-kvm wait stack01 --insecure
SSHでVMにログイン
uvt-kvm ssh stack01 --insecure
VMのIPを確認
uvt-kvm ip stack01
作成したVMのリスト
uvt-kvm list
VMを削除
uvt-kvm destroy secondtest
5. オプション
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment