New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qvm-prefs says 'no attribute' for some existing attributes #2102

Closed
tasket opened this Issue Jun 21, 2016 · 1 comment

Comments

Projects
None yet
4 participants
@tasket

tasket commented Jun 21, 2016

Qubes OS version (e.g., R3.1):

R3.1

Affected TemplateVMs (e.g., fedora-23, if applicable):

(dom0)


Expected behavior:

$ qvm-prefs vmname attribute returns value

Actual behavior:

$ qvm-prefs vmname

name               : fedora-23
label              : black
type               : TemplateVM
netvm              : sys-firewall
dispvm_netvm       : sys-firewall (default)
updateable         : True
autostart          : False
installed_by_rpm   : True
include_in_backups : False
last_backup        : None
dir                : /var/lib/qubes/vm-templates/fedora-23
config             : /var/lib/qubes/vm-templates/fedora-23/fedora-23.conf
pcidevs            : []
pci_strictreset    : True
root_img           : /var/lib/qubes/vm-templates/fedora-23/root.img
root_cow_img       : /var/lib/qubes/vm-templates/fedora-23/root-cow.img
root_volatile_img  : /var/lib/qubes/vm-templates/fedora-23/volatile.img
private_img        : /var/lib/qubes/vm-templates/fedora-23/private.img
vcpus              : 2
memory             : 150
maxmem             : 1500
MAC                : 00:16:3E:5E:6C:1F (auto)
kernel             : 4.1.13-9 (default)
kernelopts         : nopat (default)
debug              : off
default_user       : user
qrexec_timeout     : 60
internal           : False

yet...
$ qvm-prefs fedora-23 MAC
VM 'fedora-23' has no attribute 'MAC'
$ qvm-prefs fedora-23 root_cow_img
VM 'fedora-23' has no attribute 'root_cow_img'
$ qvm-prefs fedora-23 root_volatile_img
VM 'fedora-23' has no attribute 'root_volatile_img'

Steps to reproduce the behavior:

Type above commands into dom0 CLI.

General notes:


Related issues:

@unman

This comment has been minimized.

Show comment
Hide comment
@unman

unman Jun 21, 2016

Member

This already referenced here for MAC: QubesOS/qubes-doc#166

Ah ok, it needs qvm-prefs -s mac blah.

qvm-prefs <name> volatile_img works for root_volatile_img

root_cow_imageis just borked

PR on way

Member

unman commented Jun 21, 2016

This already referenced here for MAC: QubesOS/qubes-doc#166

Ah ok, it needs qvm-prefs -s mac blah.

qvm-prefs <name> volatile_img works for root_volatile_img

root_cow_imageis just borked

PR on way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment