~tieong/pulumi-kimsufi

edce5281f05a8a2b11304fcc8ec5dfced994e00f — Thomas Ieong 1 year, 1 month ago 19aa7fd
Added memory argument
1 files changed, 2 insertions(+), 0 deletions(-)

M vm.py
M vm.py => vm.py +2 -0
@@ 15,6 15,7 @@ class Vm:
    name: str
    source: str
    address: str
    memory: int = 1024
    size: int = gigabytes_to_bytes(11)




@@ 57,6 58,7 @@ def new_vm(
                target_type="serial"
            )
        ],
        memory=vm.memory,
        disks=[libvirt.DomainDiskArgs(volume_id=filesystem.id)],
        network_interfaces=[
            libvirt.DomainNetworkInterfaceArgs(