test(packer): configure shared directory directly in the image.
This way, we do not always need to use vagrant to start a vm.
This commit is contained in:
parent
c707b730ef
commit
bac9658293
10 changed files with 53 additions and 16 deletions
|
|
@ -15,7 +15,7 @@ readonly SRC=/tmp/src
|
|||
readonly DISTRIBUTION
|
||||
|
||||
main() {
|
||||
install -dm0750 -o "$SUDO_USER" -g "$SUDO_USER" "/home/$SUDO_USER/Projects/" "/home/$SUDO_USER/.config/"
|
||||
install -dm0750 -o "$SUDO_USER" -g "$SUDO_USER" "/home/$SUDO_USER/Projects/" "/home/$SUDO_USER/Projects/apparmor.d" "/home/$SUDO_USER/.config/"
|
||||
install -Dm0644 -o "$SUDO_USER" -g "$SUDO_USER" $SRC/.bash_aliases "/home/$SUDO_USER/.bash_aliases"
|
||||
install -Dm0644 -o "$SUDO_USER" -g "$SUDO_USER" $SRC/monitors.xml "/home/$SUDO_USER/.config/monitors.xml"
|
||||
install -Dm0644 -o "$SUDO_USER" -g "$SUDO_USER" $SRC/htoprc "/home/$SUDO_USER/.config/htop/htoprc"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue