Compare commits

...

2 Commits

Author SHA1 Message Date
d4a28d7a58 Bump version to 0.9.7 2020-11-19 10:48:28 -05:00
e8914eabb7 Better handle modifying consoles in templates
Before, the default False was problematic and would reset consoles if
the template was otherwise modified. Instead switch the flags to be full
true/false flags, and on modify, adjust the default to be None so they
will not be changed.
2020-11-19 10:28:00 -05:00
5 changed files with 21 additions and 7 deletions

View File

@ -20,6 +20,10 @@ To get started with PVC, please see the [About](https://parallelvirtualcluster.r
## Changelog
#### v0.9.7
* Fixes bug with provisioner system template modifications
#### v0.9.6
* Fixes bug with migrations

View File

@ -2721,14 +2721,14 @@ def provisioner_template_system_list(limit):
help='The amount of vRAM (in MB).'
)
@click.option(
'-s', '--serial', 'serial',
'-s/-S', '--serial/--no-serial', 'serial',
is_flag=True, default=False,
help='Enable the virtual serial console.'
)
@click.option(
'-n', '--vnc', 'vnc',
'-n/-N', '--vnc/--no-vnc', 'vnc',
is_flag=True, default=False,
help='Enable the VNC console.'
help='Enable/disable the VNC console.'
)
@click.option(
'-b', '--vnc-bind', 'vnc_bind',
@ -2801,14 +2801,14 @@ def provisioner_template_system_add(name, vcpus, vram, serial, vnc, vnc_bind, no
help='The amount of vRAM (in MB).'
)
@click.option(
'-s', '--serial', 'serial',
'-s/-S', '--serial/--no-serial', 'serial',
is_flag=True, default=None,
help='Enable the virtual serial console.'
)
@click.option(
'-n', '--vnc', 'vnc',
'-n/-N', '--vnc/--no-vnc', 'vnc',
is_flag=True, default=None,
help='Enable the VNC console.'
help='Enable/disable the VNC console.'
)
@click.option(
'-b', '--vnc-bind', 'vnc_bind',

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
pvc (0.9.7-0) unstable; urgency=high
* Fixes bug with provisioner system template modifications
-- Joshua M. Boniface <joshua@boniface.me> Thu, 19 Nov 2020 10:48:28 -0500
pvc (0.9.6-0) unstable; urgency=high
* Fixes bug with migrations

View File

@ -18,6 +18,10 @@ To get started with PVC, please see the [About](https://parallelvirtualcluster.r
## Changelog
#### v0.9.7
* Fixes bug with provisioner system template modifications
#### v0.9.6
* Fixes bug with migrations

View File

@ -54,7 +54,7 @@ import pvcnoded.CephInstance as CephInstance
import pvcnoded.MetadataAPIInstance as MetadataAPIInstance
# Version string for startup output
version = '0.9.6'
version = '0.9.7'
###############################################################################
# PVCD - node daemon startup program