cods / on_startup.sh
Unsterile's picture
Duplicate from Unsterile/onee
b4f3c4e
raw
history blame
423 Bytes
#!/bin/bash
# Write some commands here that will run on root user before startup.
# For example, to clone transformers and install it in dev mode:
# git clone https://github.com/huggingface/transformers.git
# cd transformers && pip install -e ".[dev]"
# useradd -m aku && adduser aku sudo && echo 'aku:aku' | sudo chpasswd && sed -i 's/\/bin\/sh/\/bin\/bash/g' /etc/passwd
# /usr/bin/newuidmap 1500 0 1000 1 1 100000 65536