diff --git a/deployment/create_lxc_base.sh b/deployment/create_lxc_base.sh index 3738603..b28ee21 100755 --- a/deployment/create_lxc_base.sh +++ b/deployment/create_lxc_base.sh @@ -26,7 +26,7 @@ if lxc list --format csv -q | grep -q "$UBUNTU_BASE_IMAGE_NAME"; then fi else # the base image is ubuntu:22.04. - lxc init --profile="$BASE_IMAGE_VM_NAME" "$UBUNTU_BASE_IMAGE_NAME" "$BASE_IMAGE_VM_NAME" --vm --project=default + lxc init -q --profile="$BASE_IMAGE_VM_NAME" "$UBUNTU_BASE_IMAGE_NAME" "$BASE_IMAGE_VM_NAME" --vm --project=default # TODO move this sovereign-stack-base construction VM to separate dedicated IP lxc config set "$BASE_IMAGE_VM_NAME" --project=default diff --git a/deployment/deploy_vm.sh b/deployment/deploy_vm.sh index 17eeb7f..5b4a524 100755 --- a/deployment/deploy_vm.sh +++ b/deployment/deploy_vm.sh @@ -96,8 +96,8 @@ if ! lxc list --format csv | grep -q "$LXD_VM_NAME"; then bash -c "./stub_lxc_profile.sh --vm=$VIRTUAL_MACHINE --lxd-hostname=$LXD_VM_NAME --ss-volume-name=$SSDATA_VOLUME_NAME --backup-volume-name=$BACKUP_VOLUME_NAME" # now let's create a new VM to work with. - #lxc init --profile="$LXD_VM_NAME" "$BASE_IMAGE_VM_NAME" "$LXD_VM_NAME" --vm - lxc init "$DOCKER_BASE_IMAGE_NAME" "$LXD_VM_NAME" --vm --profile="$LXD_VM_NAME" + #lxc init -q --profile="$LXD_VM_NAME" "$BASE_IMAGE_VM_NAME" "$LXD_VM_NAME" --vm + lxc init -q "$DOCKER_BASE_IMAGE_NAME" "$LXD_VM_NAME" --vm --profile="$LXD_VM_NAME" # let's PIN the HW address for now so we don't exhaust IP # and so we can set DNS internally. diff --git a/install.sh b/install.sh index 9543daf..7f1a796 100755 --- a/install.sh +++ b/install.sh @@ -130,9 +130,9 @@ if ! lxc list --format csv | grep -q ss-mgmt; then # TODO check to see if there's an existing ss-mgmt image to spawn from, otherwise do this. if lxc image list | grep -q ss-mgmt; then FROM_BUILT_IMAGE=true - lxc init ss-mgmt ss-mgmt --vm -c limits.cpu=4 -c limits.memory=4GiB --profile=default + lxc init -q ss-mgmt ss-mgmt --vm -c limits.cpu=4 -c limits.memory=4GiB --profile=default else - lxc init "images:$BASE_LXC_IMAGE" ss-mgmt --vm -c limits.cpu=4 -c limits.memory=4GiB --profile=default + lxc init -q "images:$BASE_LXC_IMAGE" ss-mgmt --vm -c limits.cpu=4 -c limits.memory=4GiB --profile=default fi fi