Add coreos

This commit is contained in:
j3s 2021-02-01 10:59:13 -06:00
parent 645ddede02
commit 3639a295c4
3 changed files with 8 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def init_app(app):
hasSchemaVersionTable = False
actionWasTaken = False
schemaVersion = 0
desiredSchemaVersion = 12
desiredSchemaVersion = 13
cursor = connection.cursor()

View File

@ -0,0 +1,3 @@
DELETE FROM os_images WHERE id = 'coreos';
UPDATE schemaversion SET version = 12;

View File

@ -0,0 +1,4 @@
INSERT INTO os_images (id, template_image_file_name, description, deprecated)
VALUES ('coreos', 'coreos/stable/root.img.qcow2', 'Fedora CoreOS Stable', FALSE);
UPDATE schemaversion SET version = 13;