From 810928f5ebbf1e1975c80d61dce9e8275ce1e51b Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 21 Mar 2022 17:04:15 +0100 Subject: [PATCH] cloud-init deactivation added --- README.md | 8 ++++++-- setup_cuda.sh | 5 +++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ed720fb..4d895d9 100644 --- a/README.md +++ b/README.md @@ -13,15 +13,19 @@ Steps: 2. Setup driver/CUDA: sudo bash setup_cuda.sh + + +3. Reboot system: + sudo systemctl reboot -3. Setup bcache: +4. Setup bcache: sudo bash setup_bcache.sh -3. Setup apps (Python, JupyterHub (Hub is running as root), Tensorflow etc.): +5. Setup apps (Python, JupyterHub (Hub is running as root), Tensorflow etc.): sudo bash setup_apps.sh diff --git a/setup_cuda.sh b/setup_cuda.sh index 6503b99..2b28332 100644 --- a/setup_cuda.sh +++ b/setup_cuda.sh @@ -23,6 +23,11 @@ fi distribution=$(. /etc/os-release;echo $ID$VERSION_ID | sed -e 's/\.//g') architecture="x86_64" +echo "" +echo "Disable cloud-init..." +#this is optional, not a requirement +touch /etc/cloud/cloud-init.disabled + echo "" echo "Install requirements..." apt-get update && \