saltstack/salt — pull request #5325 by mguegan (2013-05-30 21:01:23+00:00)
Title: modules/smartos_vmadm : add setmem(uuid, memory) function

This function identifies the VM type (OS -> realtime update, or KVM ->
reboot), and sets the correct amount of memory. Warning : there are no
checks against the CN : you could accidentally permit the VM to eat all
the RAM available on the baremetal...