diff --git a/setup_apps.sh b/setup_apps.sh index e39f83b..7a2bbf0 100644 --- a/setup_apps.sh +++ b/setup_apps.sh @@ -19,9 +19,11 @@ echo "Install and config python & jupyter..." apt-get update && \ apt-get install -y ipmitool && modprobe ipmi_devintf && \ apt-get install -y python3-pip nodejs npm git && \ +apt-add-repository -y ppa:cantera-team/cantera && \ +apt-get install -y cantera-python3 && \ python3 -m pip install jupyterhub && \ npm install -g configurable-http-proxy && \ -python3 -m pip install jupyterlab notebook tensorflow jupyterlab-git && \ +python3 -m pip install jupyterlab notebook jupyterlab-git tensorflow && \ python3 -m pip install h5py tqdm pandas ipywidgets pillow matplotlib && \ python3 -m pip install scipy scikit-learn && \ mkdir /etc/jupyterhub/ && \ diff --git a/setup_bcache.sh b/setup_bcache.sh index 2d411ed..019e60a 100644 --- a/setup_bcache.sh +++ b/setup_bcache.sh @@ -19,8 +19,8 @@ while [ -b /dev/bcache0 ] fi echo "Clean disks and setup bcache... " -dd if=/dev/zero if=$ssddev bs=512 count=8 && \ -dd if=/dev/zero if=$hdddev bs=512 count=8 && \ +dd if=/dev/zero of=$ssddev bs=512 count=8 && \ +dd if=/dev/zero of=$hdddev bs=512 count=8 && \ wipefs -a $ssddev && \ wipefs -a $hdddev && \ apt-get update && \