Marcus,
Please have a look at findSystemVMTemplate in VmTemplateDaoImpl.java
-Wei
2013/6/7, Marcus Sorensen :
> Thanks, I'm looking at it from a different perspective, not a CS
> upgrade, but say we have to roll a new systemvm template for an
> existing CS version. Say we rolled 4.2, with a new te
Thanks, I'm looking at it from a different perspective, not a CS
upgrade, but say we have to roll a new systemvm template for an
existing CS version. Say we rolled 4.2, with a new template, and then
two months later we realize that the template is missing dnsmasq or
something, and we have to have e
Marcus,
(1) cloud-install-sys-tmplt update the template with max(id)
select max(id) from cloud.vm_template where type = \"SYSTEM\" and
hypervisor_type = \"KVM\" and removed is null"`
(2) upgrade process update the template with specified name. in
Upgrade410to420.java
pstmt = conn.prepareStatemen
How does cloudstack know which template is the latest system vm? Does
it match on name or something? From what I have gathered in the
upgrade docs, you simply register a new template, like any other, and
run a convenience script that restarts your system vms. But I don't
gather from this how cloud