cloud-init deactivation added
This commit is contained in:
parent
4cd09db8a0
commit
810928f5eb
|
@ -13,15 +13,19 @@ Steps:
|
||||||
2. Setup driver/CUDA:
|
2. Setup driver/CUDA:
|
||||||
|
|
||||||
sudo bash setup_cuda.sh
|
sudo bash setup_cuda.sh
|
||||||
|
|
||||||
|
|
||||||
|
3. Reboot system:
|
||||||
|
|
||||||
sudo systemctl reboot
|
sudo systemctl reboot
|
||||||
|
|
||||||
|
|
||||||
3. Setup bcache:
|
4. Setup bcache:
|
||||||
|
|
||||||
sudo bash setup_bcache.sh
|
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
|
sudo bash setup_apps.sh
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,11 @@ fi
|
||||||
distribution=$(. /etc/os-release;echo $ID$VERSION_ID | sed -e 's/\.//g')
|
distribution=$(. /etc/os-release;echo $ID$VERSION_ID | sed -e 's/\.//g')
|
||||||
architecture="x86_64"
|
architecture="x86_64"
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Disable cloud-init..."
|
||||||
|
#this is optional, not a requirement
|
||||||
|
touch /etc/cloud/cloud-init.disabled
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Install requirements..."
|
echo "Install requirements..."
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
|
|
Loading…
Reference in New Issue