AW: Re: [qubes-users] Created new fedora-26 dvm, how to delete old dvm

2018-01-19 Thread '[799]' via qubes-users
> I tried to remove the default DVM, but it didn't > work. What do I need to 
> do, to get rid of the
> old (Fedora 25 based) DVM which comes with > the default Qubes 4rc3 
> isntallation ?

After some trial and error I found out what was causing the problem, deleting 
the default fedora-25-dvm and the fedora-25 template.

I had not only to migrate all AppVMs to the new fedora-26 template, I also had 
to edit /var/lib/qubes/qubes.xml and change the entries default_template and 
default_dispvm from fedora-25 to fedora_26.

After that I was able to qvm-remove the fedora-25-dvm and also the fedora-25 
template via sudo dnf remove qubes-template-fedora-25

[799]

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/_wbkzGY79kVeiPvZCdx5yvLLWLA_Xz4df_VLCSAZOPZs7eGsnulKxvtRWenKCQCLn9eJxAJpR6IfKiJrScjcFdj7JxDxwc4yEu49g8GVOeI%3D%40protonmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Created new fedora-26 dvm, how to delete old dvm

2018-01-18 Thread cooloutac
On Thursday, January 18, 2018 at 3:34:54 PM UTC-5, donoban wrote:
> On 01/18/2018 09:27 PM, '[799]' via qubes-users wrote:
> > Hello,
> > 
> > After migrating my templates to Fedora 26, I have also created a new
> > disposable VM, based on a Fedora 26 template.
> > 
> > I have set the new DVM to start, from all other AppVMs, as such the DVM
> > should not be referenced to in any other app vm.
> > I tried to remove the default DVM, but it didn't work.
> > What do I need to do, to get rid of the old (Fedora 25 based) DVM which
> > comes with the default Qubes 4rc3 isntallation ?
> > 
> 
> 
> At least in Qubes 3.2 you can try with 'qvm-ls' for finding it and
> 'qvm-remove vm-name' for delete it.
> 
> I think something like 'qvm-remove fedora-25-dvm' should work.
> 
> But I don't know if it's different on Qubes 4.

https://www.qubes-os.org/doc/remove-vm-manually/

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/85a81b81-4100-40f4-b2ef-0efe922e3d73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Created new fedora-26 dvm, how to delete old dvm

2018-01-18 Thread donoban
On 01/18/2018 09:27 PM, '[799]' via qubes-users wrote:
> Hello,
> 
> After migrating my templates to Fedora 26, I have also created a new
> disposable VM, based on a Fedora 26 template.
> 
> I have set the new DVM to start, from all other AppVMs, as such the DVM
> should not be referenced to in any other app vm.
> I tried to remove the default DVM, but it didn't work.
> What do I need to do, to get rid of the old (Fedora 25 based) DVM which
> comes with the default Qubes 4rc3 isntallation ?
> 


At least in Qubes 3.2 you can try with 'qvm-ls' for finding it and
'qvm-remove vm-name' for delete it.

I think something like 'qvm-remove fedora-25-dvm' should work.

But I don't know if it's different on Qubes 4.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2cb91f28-b139-f8e4-79f9-515c9007ce85%40riseup.net.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


[qubes-users] Created new fedora-26 dvm, how to delete old dvm

2018-01-18 Thread '[799]' via qubes-users
Hello,

After migrating my templates to Fedora 26, I have also created a new disposable 
VM, based on a Fedora 26 template.

I have set the new DVM to start, from all other AppVMs, as such the DVM should 
not be referenced to in any other app vm.
I tried to remove the default DVM, but it didn't work.
What do I need to do, to get rid of the old (Fedora 25 based) DVM which comes 
with the default Qubes 4rc3 isntallation ?

[799]

my procedure to create a new Fedora 26 DVM:

---8# Create a new Disposable App-VM "my-dvm" which is based on a custom 
template t-fedora-26
qvm-create --template t-fedora-26 --label red --property 
template_for_dispvms=True --class=AppVM my-dvm

# TEST: Start an application in this dvm
qvm-run --dispvm=my-dvm xterm

# Fix menu entry from Domain: my-dvm to Disposable: my-dvm
# https://groups.google.com/forum/#!msg/qubes-users/gfBfqTNzUIg/sbPp-pyiCAAJ
# https://github.com/QubesOS/qubes-issues/issues/1339#issuecomment-338813581
qvm-features vmname appmenus-dispvm 1
qvm-sync-appmenus --regenerate-only my-dvm

# Change the Disp-VM from an AppVM (here: my-untrusted)
qvm-prefs --set my-untrusted default_dispvm my-dvm

# Try to start something from this AppVM in a disposable VM
qvm-run --auto my-untrusted 'qvm-open-in-dvm https:/google.de'
# This should start a new dispvm which is based on your dvm-App

---8

Gesendet von ProtonMail mobile

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/HshR1Yx4N8HrY_ywCzx0n-Yydoi5s14S7B28ExPTOYTQvi7BkmpwQYLJsAt9pw5Sb3C4wtZhbDvN5SnlIKJqrp6uFsitl-8REAeN9rUdaHA%3D%40protonmail.com.
For more options, visit https://groups.google.com/d/optout.