cantera added and bcash-script fixed
This commit is contained in:
parent
810928f5eb
commit
b8514bb166
|
@ -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/ && \
|
||||
|
|
|
@ -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 && \
|
||||
|
|
Loading…
Reference in New Issue