update Vagrantfile and fix useradd bug
This commit is contained in:
parent
303a604cf6
commit
99f5537829
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user