Add OpenBSD 6.7

This commit is contained in:
j3s 2020-05-19 22:48:59 -05:00
parent 36fa867002
commit fdc2394f83
3 changed files with 4 additions and 8 deletions

View File

@ -40,7 +40,7 @@ def init_app(app):
hasSchemaVersionTable = False
actionWasTaken = False
schemaVersion = 0
desiredSchemaVersion = 2
desiredSchemaVersion = 3
cursor = connection.cursor()
@ -127,4 +127,4 @@ def close_db(e=None):
current_app.config['PSYCOPG2_CONNECTION_POOL'].putconn(db_model.connection)
def my_exec_info_message(exec_info):
return "{}: {}".format(".".join([exec_info[0].__module__, exec_info[0].__name__]), exec_info[1])
return "{}: {}".format(".".join([exec_info[0].__module__, exec_info[0].__name__]), exec_info[1])

View File

@ -1,3 +0,0 @@
UPDATE os_images SET id = 'openbsd66' WHERE id = 'openbsd67'
UPDATE os_images SET template_image_file_name = 'openbsd-cloud-2020-05.qcow2' WHERE id = 'openbsd66'
UPDATE os_images SET description = 'OpenBSD 6.6' WHERE id = 'openbsd66'

View File

@ -1,3 +1,2 @@
UPDATE os_images SET id = 'openbsd67' WHERE id = 'openbsd66'
UPDATE os_images SET template_image_file_name = 'openbsd-6.7-x86_64.qcow2' WHERE id = 'openbsd67'
UPDATE os_images SET description = 'OpenBSD 6.7' WHERE id = 'openbsd67'
INSERT INTO os_images (id, template_image_file_name, description)
VALUES ('openbsd67', 'openbsd-6.7-x86_64.qcow2', 'OpenBSD 6.7');