linux:kvm_info
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
linux:kvm_info [2022/08/12 11:49] – [KVMのインストール] kimi | linux:kvm_info [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1 | ||
---|---|---|---|
行 13: | 行 13: | ||
* [[linux: | * [[linux: | ||
$ qemu-img create -f qcow2 images/ | $ qemu-img create -f qcow2 images/ | ||
- | $ virt-install --name=template --disk=images/ | + | $ virt-install --name=template --disk=images/ |
* [[仮想マシンのクローン化]]< | * [[仮想マシンのクローン化]]< | ||
- | * 仮想マシンの削除< | + | * [[linux: |
- | * 仮想マシンの設定変更< | + | * [[linux: |
- | ===== 仮想マシンの削除 ===== | ||
- | <code sh> | ||
- | $ virsh list --all | ||
- | | ||
- | --------------------------- | ||
- | | ||
- | | ||
- | |||
- | $ virsh undefine template | ||
- | Domain template has been undefined | ||
- | |||
- | $ virsh list --all | ||
- | | ||
- | ---------------------- | ||
- | | ||
- | |||
- | $ | ||
- | </ | ||
- | |||
- | ===== 仮想マシンの設定変更 ===== | ||
- | |||
- | |||
- | <code sh> | ||
- | $ virsh list --all | ||
- | | ||
- | ----------------------- | ||
- | | ||
- | |||
- | $ virsh edit ssp0 | ||
- | . | ||
- | . | ||
- | . | ||
- | Domain ssp0 XML configuration edited. | ||
- | |||
- | $ virsh start ssp0 | ||
- | Domain ssp0 started | ||
- | |||
- | </ | ||
linux/kvm_info.1660272575.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)