Skip to content

Commit

Permalink
Adding multipass-ssfh
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanbossenger committed Nov 10, 2024
1 parent fbbe51e commit ab35e25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/cloud-init-for-wp-local-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ runcmd:
- echo "Setting the hostname"
- echo "wp-local-env" > /etc/hostname
- hostname -F /etc/hostname
# Installing multipass-sshfs (needed for mounting)
- snap install multipass-sshfs
# Adding required repositories
- echo "Adding repositories"
- add-apt-repository --no-update universe
Expand Down Expand Up @@ -54,7 +56,6 @@ runcmd:
- sed -i s/"export APACHE_RUN_GROUP=www-data"/"export APACHE_RUN_GROUP=ubuntu"/g /etc/apache2/envvars
- sed -i s/"index.html"/"index.php index.html"/g /etc/apache2/mods-enabled/dir.conf
- echo "Configuring PHP.ini"
- echo "Configuring PHP.ini"
- touch /etc/php/8.3/apache2/conf.d/user.ini
- echo "display_errors=On" >> /etc/php/8.3/apache2/conf.d/user.ini
- echo "memory_limit=128M" >> /etc/php/8.3/apache2/conf.d/user.ini
Expand Down

0 comments on commit ab35e25

Please sign in to comment.