cloudstack/tools/appliance
Pearl Dsilva 138ed60076
Further improvements to CKS (#118)
* Multiple nics support on Ubuntu template

* Multiple nics support on Ubuntu template

* supports allocating IP to the nic when VM is added to another network - no delay

* Add option to select DNS or VR IP as resolver on VPC creation

* Add API param and UI to select option

* Add column on vpc and pass the value on the databags for CsDhcp.py to fix accordingly

* Externalize the CKS Configuration, so that end users can tweak the configuration before deploying the cluster

* Add new directory to c8 packaging for CKS config

* Remove k8s configuration from resources and make it configurable

* Revert "Remove k8s configuration from resources and make it configurable"

This reverts commit d5997033ebe4ba559e6478a64578b894f8e7d3db.

* copy conf to mgmt server and consume them from there

* Remove node from cluster

* Add missing /opt/bin directory requrired by external nodes

* Login to a specific Project view

* add indents

* Fix CKS HA clusters

* Fix build

---------

Co-authored-by: Nicolas Vazquez <nicovazquez90@gmail.com>
2025-05-27 21:33:20 -03:00
..
builtin appliance: Fix typo in ISO url (#2775) 2018-07-31 13:04:37 +05:30
cks/ubuntu Further improvements to CKS (#118) 2025-05-27 21:33:20 -03:00
systemvmtemplate Merge release branch 4.20 to main 2025-04-09 13:02:31 +02:00
README.md Add systemvmtemplate arm64 build support (#9437) 2024-07-26 13:38:03 +05:30
build.sh SystemVM template changes - updated debian version & other changes (#9625) 2024-09-04 11:42:41 +05:30
shar_cloud_scripts.sh systemvmtemplate: Bigger partition size and ambiguous redirect bugfix (#2832) 2018-08-31 17:17:51 +05:30

README.md

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

===========================================================

Introduction

This is used to build appliances for use with CloudStack. Currently two build profiles are available for building systemvmtemplate (Debian based) and CentOS based built-in user VM template.

Setting up Tools and Environment

  • Install packer (v1.8.x, v1.9.x tested) and latest KVM, qemu on a Linux x86 machine (Ubuntu 20.04 tested)

  • Install tools for exporting appliances: qemu-img, ovftool, faketime, sharutils

  • Build and install vhd-util as described in build.sh or use pre-built binaries at:

    http://packages.shapeblue.com/systemvmtemplate/vhd-util
    http://packages.shapeblue.com/systemvmtemplate/libvhd.so.1.0
    
  • For building ARM64 systemvm template on amd64 systems, please also install: qemu-utils qemu-system-arm qemu-efi-aarch64

How to build appliances

Just run build.sh, it will export archived appliances for KVM, XenServer, VMWare and HyperV in dist directory:

bash build.sh <name> <version> <arch>
bash build.sh systemvmtemplate 4.19.1.0 x86_64
bash build.sh systemvmtemplate 4.19.1.0 aarch64

For building builtin x86_64 template run:

bash build.sh builtin