This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# create ERP user | |
adduser erpnext --gecos "" --disabled-password | |
usermod -aG sudo erpnext | |
# Append MYSQL Conf to file | |
cat <<EOT >> /etc/mysql/my.cnf | |
[mysqld] | |
character-set-client-handshake = FALSE | |
character-set-server = utf8mb4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# encoding: utf-8 | |
# Variable definition | |
VAGRANT_BOX = 'generic/ubuntu2004' | |
VM_NAME = 'ERPbox2' | |
# VM User — 'vagrant' by default | |
VM_USER = 'vagrant' | |
# path of folder that should be synced, if any | |
HOST_PATH = '.' | |
# Where to sync to on Guest — 'vagrant' is the default user name | |
GUEST_PATH = '/mnt/erpnext'# |