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/common/zerodisk.sh b/common/zerodisk.sh
new file mode 100644
index 0000000..9b20b18
--- /dev/null
+++ b/common/zerodisk.sh
@@ -0,0 +1,4 @@
+dd if=/dev/zero of=/EMPTY bs=1M || true
+rm -f /EMPTY
+echo 3 > /proc/sys/vm/drop_caches
+sync