New Question
0

automatic stop action for hyper-v

asked 2020-01-14 15:49:53 +0200

timco64 gravatar image

I'm using the rocky release of nova-compute for hyperv and I was wondering if I could change the default action for the "automatic stop action' to "turn off the virtual machine"? Right now it's "save the virtual machine state" but it's taking up a lot of disk space on the compute hosts.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2020-01-14 18:13:57 +0200

lpetrut gravatar image

updated 2020-01-14 18:15:40 +0200

Sure, just set the following in nova.conf:

[hyperv]
instance_automatic_shutdown = true

Note that changing this option won't affect already existing instances.

Regards,

Lucian

edit flag offensive delete link more

Comments

Thanks, that worked.

timco64 gravatar imagetimco64 ( 2020-01-14 19:17:38 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2020-01-14 15:49:53 +0200

Seen: 305 times

Last updated: Jan 14 '20