1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 01:22:50 -05:00

Update Digital Ocean Marketplace files for Packer (#1923)

This commit is contained in:
Vince Grassia
2022-03-23 14:20:08 -04:00
committed by GitHub
parent 4814cef245
commit 9ad96d7c1d
13 changed files with 781 additions and 186 deletions

View File

@ -0,0 +1,25 @@
#!/bin/bash
#
# Scripts in this directory are run during the build process.
# each script will be uploaded to /tmp on your build droplet,
# given execute permissions and run. The cleanup process will
# remove the scripts from your build system after they have run
# if you use the build_image task.
#
#
# Make MOTD and boot script executable
#
chmod +x /var/lib/cloud/scripts/per-instance/001_onboot
chmod +x /etc/update-motd.d/99-bitwarden-welcome
#
# Setup First Run Script
# ref: https://github.com/digitalocean/marketplace-partners#running-commands-on-first-login
#
chmod +x /opt/bitwarden/install-bitwarden.sh
echo '/opt/bitwarden/install-bitwarden.sh' >> /root/.bashrc