feat: libvirt setup
Some checks failed
continuous-integration/drone/push Build is failing

fix: ip assigment index
feat: default username
This commit is contained in:
2025-03-31 10:40:29 +01:00
parent 6ca8283040
commit 7deed82a7c
10 changed files with 170 additions and 84 deletions

View File

@ -0,0 +1,4 @@
-- Add migration script here
ALTER TABLE vm_ip_assignment DROP KEY ix_vm_ip_assignment_ip;
alter table vm_os_image
add column default_username varchar(50);

View File

@ -206,6 +206,7 @@ pub struct VmOsImage {
pub release_date: DateTime<Utc>,
/// URL location of cloud image
pub url: String,
pub default_username: Option<String>,
}
impl VmOsImage {