linux:kvm_info
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| linux:kvm_info [2022/08/16 09:06] – [仮想マシンの操作] 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: | ||
| 行 19: | 行 19: | ||
| - | ===== 仮想マシンの削除 ===== | ||
| - | <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.1660608380.txt.gz · 最終更新: (外部編集)