Compare commits

...

4 Commits

2 changed files with 8 additions and 1 deletions

View File

@ -7,6 +7,13 @@ addgroup nonroot
adduser --disabled-password --gecos "" ${HOME_USER} adduser --disabled-password --gecos "" ${HOME_USER}
echo "${HOME_USER} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers echo "${HOME_USER} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
#Creating extensions folder
sudo mkdir /home/${HOME_USER}/.config/Code
sudo chmod -R a+rwX /home/${HOME_USER}/.config/Code
sudo mkdir /home/${HOME_USER}/.vscode-server
sudo chmod -R a+rwX /home/${HOME_USER}/.vscode-server
sudo su - ${HOME_USER} -c "code --extensions-dir /home/${HOME_USER}/.vscode-server"
# Check if the data.json file exists # Check if the data.json file exists
if [ -f "/home/extensions.json" ]; then if [ -f "/home/extensions.json" ]; then
# Read the JSON file into a variable # Read the JSON file into a variable

View File

@ -1 +1 @@
1.0.18 1.0.22