update Vagrantfile and fix useradd bug

This commit is contained in:
Michael Becker 2024-04-07 14:10:01 -04:00
parent 303a604cf6
commit 99f5537829

View File

@ -15,7 +15,7 @@ Vagrant.configure("2") do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://vagrantcloud.com/search.
# box.vm.box = "mocha/lunar64"
box.vm.box = "ubuntu/lunar64"
box.vm.box = "ubuntu/mantic64"
#box.vm.box = "default.box"
box.vm.hostname = "@@MOCHA_SUV_ID@@.privatesuv.com"
@ -116,8 +116,8 @@ Vagrant.configure("2") do |config|
WEBMASTER_PASS="Solty/AyanamiREI^^96274"
ZQADMIN_PASS="Solty/AyanamiREI^^96274"
useradd -G webmasters -p "$(openssl passwd -6 $WEBMASTER_PASS)" webmaster
useradd -G zqadmin -p "$(openssl passwd -6 $ZQADMIN_PASS)" zqadmin
useradd -g webmasters -p "$(openssl passwd -6 $WEBMASTER_PASS)" webmaster
useradd -g zqadmin -p "$(openssl passwd -6 $ZQADMIN_PASS)" zqadmin
echo "pending:building:5/27:import machine template" > /etc/mocha/suvstatus
SHELL