This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
технология_terraform [2024/07/21 07:05] val [Multi-Machine проект] |
технология_terraform [2025/02/13 12:07] (current) val [Управление проектом] |
||
---|---|---|---|
Line 192: | Line 192: | ||
~/nodes# terraform apply #-auto-approve | ~/nodes# terraform apply #-auto-approve | ||
+ | |||
+ | ~/nodes# virsh list --all | ||
~/nodes# virsh console --domain domain-node1 | ~/nodes# virsh console --domain domain-node1 | ||
Line 206: | Line 208: | ||
~/nodes# terraform destroy #-auto-approve | ~/nodes# terraform destroy #-auto-approve | ||
+ | |||
+ | ~/nodes# ###virsh destroy domain-nodeN | ||
+ | ~/nodes# ###virsh undefine --domain domain-nodeN | ||
~/nodes# ### rm -r .terraform .terraform.lock.hcl terraform.tfstate terraform.tfstate.backup | ~/nodes# ### rm -r .terraform .terraform.lock.hcl terraform.tfstate terraform.tfstate.backup |