Revision 2da5f785
b/logic/backend.py | ||
---|---|---|
165 | 165 |
disk_template='plain', |
166 | 166 |
disks=[{"size": 4000}], #FIXME: Always ask for a 4GB disk for now |
167 | 167 |
nics=[nic], |
168 |
os='image+default',
|
|
168 |
os=settings.GANETI_OS_PROVIDER,
|
|
169 | 169 |
ip_check=False, |
170 | 170 |
name_check=False, |
171 | 171 |
# Do not specific a node explicitly, have |
... | ... | |
291 | 291 |
rapi.DeleteInstanceTags(vm.backend_id, [t], dry_run=settings.TEST) |
292 | 292 |
|
293 | 293 |
rapi.AddInstanceTags(vm.backend_id, [tag], dry_run=settings.TEST) |
294 |
|
|
295 |
# XXX NOP ModifyInstance call to force process_net_status to run |
|
296 |
# on the dispatcher |
|
297 |
rapi.ModifyInstance(vm.backend_id, os_name=settings.GANETI_OS_PROVIDER) |
b/settings.d/10-backend.conf | ||
---|---|---|
48 | 48 |
# of Synnefo VMs at the Ganeti backend. |
49 | 49 |
# The dash must always appear in the name! |
50 | 50 |
BACKEND_PREFIX_ID = "snf-" |
51 |
|
|
52 |
GANETI_OS_PROVIDER = "image+default" |
Also available in: Unified diff