diff --git a/stub_lxc_profile.sh b/stub_lxc_profile.sh index 3eb077c..0101adf 100755 --- a/stub_lxc_profile.sh +++ b/stub_lxc_profile.sh @@ -145,43 +145,11 @@ EOF - sudo apt-get update - sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin - sudo DEBIAN_FRONTEND=noninteractive apt-get install -y openssh-server - - sudo chown -R ubuntu:ubuntu /home/ubuntu/ + EOF - # write_files: - # - path: /etc/ssh/sshd_config - # content: | - # Port 22 - # ListenAddress 0.0.0.0 - # Protocol 2 - # ChallengeResponseAuthentication no - # PasswordAuthentication no - # UsePAM no - # LogLevel INFO - - - # - path: /etc/docker/daemon.json - # content: | - # { - # "registry-mirrors": "${REGISTRY_URL}", - # "labels": "githead=${LATEST_GIT_COMMIT}" - # } - #"labels": [githead="${LATEST_GIT_COMMIT}"] - - # apt: - # sources: - # docker.list: - # source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu ${LXD_UBUNTU_BASE_VERSION} stable" - # keyid: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 - - - - -# - sudo apt-get update - #- sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin - else # all other machines that are not the base image cat >> "$YAML_PATH" <