Skip to content

Instantly share code, notes, and snippets.

@jtomori
Last active March 5, 2019 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtomori/bd18e35035fc0dce6f334bc61cb34076 to your computer and use it in GitHub Desktop.
Save jtomori/bd18e35035fc0dce6f334bc61cb34076 to your computer and use it in GitHub Desktop.
A collection of bash scripts to help with managing VCA for remote rendering, for https://jurajtomori.wordpress.com/2019/03/05/setting-up-houdini-on-a-headless-linux-server/
#!/usr/bin/env bash
printf "\n\nInitializing pipeline environment \nyou can disable it by commenting out the last line in ~/.bashrc\n\n\n"
# Libs
export LD_LIBRARY_PATH=/var/lib/iray/juraj/local/usr/lib64/
# RS
export REDSHIFT_COREDATAPATH=/var/lib/iray/juraj/redshift_2_5_67
PATH=$PATH:$REDSHIFT_COREDATAPATH/bin
# Auto mount project share
sh ~/juraj/mount.sh
# project
source /var/lib/iray/juraj/mnt/project/_pipeline/houdini/houdini_user.sh
# Houdini
cd /var/lib/iray/juraj/houdini.16.5.268
source houdini_setup
cd ~
#
# Houdini Environment Settings
#
# The contents of this file are read into the environment
# at startup. They will override any existing entries in
# the environment.
#
# The syntax is one entry per line as follows:
# VAR = VALUE
#
# Values may be quoted
# VAR = "VALUE"
#
# Values may be empty
# VAR =
#
# Example:
#
# HOUDINI_NO_SPLASH = 1
# rs
HOUDINI_DSO_ERROR = 2
HOUDINI_PATH = &:/var/lib/iray/juraj/redshift_2_5_67/redshift4houdini/16.5.268:$HOUDINI_PATH
#!/usr/bin/env bash
#echo -n "enter aka password: "
#read -s pass
#printf '\n'
user=####
pass=####
nvidia_pass=####
echo $nvidia_pass | sudo -S mount -t cifs //netowrk/common ~/juraj/mnt/common/ -o user=$user,password=$pass,domain=MEDIANET,uid=0,iocharset=utf8,noperm
echo $nvidia_pass | sudo -S mount -t cifs //network/project ~/juraj/mnt/project/ -o user=$user,password=$pass,domain=MEDIANET,uid=0,iocharset=utf8,noperm,vers=3.0
#echo $nvidia_pass | sudo -S mount -t cifs //user/my_user ~/juraj/mnt/my_user/ -o user=$user,password=$pass,domain=MEDIANET,uid=0,iocharset=utf8,noperm
printf '\n'
#!/usr/bin/env bash
sudo umount ~/juraj/mnt/common ~/juraj/mnt/project ~/juraj/mnt/my_user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment