Commit 34b9da88 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

fix(backend): only clean when no base

issue #1340
parent 459bafed
......@@ -4488,7 +4488,10 @@ sub _post_change_hardware($self, $hardware, $index, $data=undef) {
my @volumes = $self->list_volumes_info();
}
$self->info(Ravada::Utils::user_daemon) if $self->is_known();
$self->_remove_domain_cascade(Ravada::Utils::user_daemon,1) if $self->is_known();
$self->_remove_domain_cascade(Ravada::Utils::user_daemon,1)
if $self->is_known() && !$self->is_base;
$self->needs_restart(1) if $self->is_known && $self->_data('status') eq 'active';
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment