Skip to content
Browse files

Create an admin account when provisioning the dev box

  • Loading branch information
dfighter1985 committed Dec 2, 2018
1 parent 1f354e6 commit 202c0743105919a85823900e2af3426e0c329a0d
Showing with 5 additions and 1 deletion.
  1. +5 −1 Vagrantfile
@@ -61,6 +61,10 @@ Vagrant.configure("2") do |config|
cat src/sql/world_structure.sql | mysql -u arcemu --password=arcemu arcemu_world
cat src/sql/character_structure.sql | mysql -u arcemu --password=arcemu arcemu_character
# Create an admin account, admin:admin
echo "INSERT INTO accounts VALUES (1,'admin','','8301316d0d8448a34fa6d0c6bf1cbfa2b4a1a93a','az',0,'0000-00-00 00:00:00','','a
dmin@admin',24,'enUS',0,'');" | mysql -u arcemu --password=arcemu arcemu_logon
# Configure build
mkdir bin
mkdir build
@@ -72,7 +76,7 @@ Vagrant.configure("2") do |config|
# Install the binaries
make install
# Copy config files
cp /home/arcemu/arcemu/src/configs/* /home/arcemu/arcemu/bin/etc

0 comments on commit 202c074

Please sign in to comment.
You can’t perform that action at this time.