day01 Updates
* Day01:
- remove reclass data from node
- Force maas in unconfigured state
- if you will try to run maas - it will automatically start
import processes = > which fail.
- If you will try to wrap and disable imports (formula allow to do it)
=> maas_config step will never pass.
* Misc:
- for to use freezed bootstrap.saltstack.com.sh
- add qemu-packer disk_compression true - require packer 1.10 +
- decrease mirror image size to 100gb
- apt_preserve_sources_list - force cloud-init to not re-create sources.list
Change-Id: If7c731284f3fd6ca21fe253c05c8ab78213cf9c5
diff --git a/mirror-image/template.json b/mirror-image/template.json
index bd5f6e8..1b0369c 100644
--- a/mirror-image/template.json
+++ b/mirror-image/template.json
@@ -2,7 +2,7 @@
"variables": {
"user": "root",
"password": "r00tme",
- "disk_size": "150000",
+ "disk_size": "100000",
"do_api_token": "{{ env `DO_API_TOKEN` }}",
"image_name": "{{ env `IMAGE_NAME` }}",
"cluster_model": "{{ env `CLUSTER_MODEL` }}",
@@ -153,6 +153,7 @@
"iso_target_path": "/root/isos/xenial-server-cloudimg-amd64-disk1.img",
"iso_checksum_type": "md5",
"disk_image": true,
+ "disk_compression": true,
"iso_checksum": "566efef1d6f12e7d3a994c2405bdb642",
"http_directory": "http",
"headless": true,
@@ -162,8 +163,8 @@
"vnc_bind_address": "0.0.0.0",
"vnc_port_max": "5956",
"vnc_port_min": "5956",
- "ssh_host_port_min": 2223,
- "ssh_host_port_max": 2223,
+ "ssh_host_port_min": 7000,
+ "ssh_host_port_max": 7050,
"boot_wait": "2s",
"ssh_wait_timeout": "360s"
}