Commit b4479689 authored by rgaudin's avatar rgaudin
Browse files

Fixed #315: KAlite installation failed (regression)

Allowed a reboot between resize and reconfigure phases as resize sets uid/gid on exfat /data partition
parent 5413f881
* Added raspberryPi version to version.<fqdn> page
* Fixed KAlite installation not working (regression)
* Speed up improvements for Wikifundi
......@@ -177,7 +177,7 @@ def run_phase_one(
""" run ansiblecube in machine to configure requested softwares """
tags = ["resize", "rename", "reconfigure"]
tags = ["rename", "reconfigure"]
# copy homepage
machine.put_file(homepage, "/tmp/home.html")
......@@ -286,7 +286,7 @@ def run_installation(
# Run emulation
logger.step("Starting-up VM")
logger.step("Starting-up VM (first-time)")
with as emulation:
# copying ansiblecube again into the VM
# should the master-version been updated
......@@ -296,7 +296,13 @@ def run_installation(
emulation.put_dir(data.ansiblecube_path, ansiblecube.ansiblecube_path)
logger.step("Run ansiblecube")
logger.step("Run ansiblecube for `resize`"), ["resize"], extra_vars, secret_keys)
logger.step("Starting-up VM (second-time)")
with as emulation:
logger.step("Run ansiblecube phase I")
......@@ -351,9 +357,9 @@ def run_installation(
# rerun emulation for discovery
logger.step("Starting-up VM again for content-discovery")
logger.step("Starting-up VM (third-time)")
with as emulation:
logger.step("Re-run ansiblecube for move-content")
logger.step("Re-run ansiblecube phase II")
ansiblecube.run_phase_two(emulation, extra_vars, secret_keys)
if shrink:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment