Send source command stdout to /dev/null to prevent leaking secrets
All checks were successful
Deploy to Wizard / Deploy (push) Successful in 4s
All checks were successful
Deploy to Wizard / Deploy (push) Successful in 4s
This commit is contained in:
parent
9aeddbd36d
commit
c5ee64c9df
@ -5,33 +5,34 @@ if [ "$(id -g -n)" != 'vyattacfg' ] ; then
|
||||
fi
|
||||
|
||||
source /opt/vyatta/etc/functions/script-template
|
||||
source vyos_secrets.env
|
||||
|
||||
configure
|
||||
|
||||
echo "===== Configure firewall... ====="
|
||||
{
|
||||
source firewall.sh
|
||||
source firewall.sh > /dev/null
|
||||
} || {
|
||||
echo "===== Failed to configure firewall ====="
|
||||
}
|
||||
|
||||
echo "===== Configure interfaces... ====="
|
||||
{
|
||||
source interfaces.sh
|
||||
source interfaces.sh > /dev/null
|
||||
} || {
|
||||
echo "===== Failed to configure interfaces ====="
|
||||
}
|
||||
|
||||
echo "===== Configure NAT... ====="
|
||||
{
|
||||
source nat.sh
|
||||
source nat.sh > /dev/null
|
||||
} || {
|
||||
echo "===== Failed to configure NAT ====="
|
||||
}
|
||||
|
||||
echo "===== Configure QoS... ====="
|
||||
{
|
||||
source qos.sh
|
||||
source qos.sh > /dev/null
|
||||
} || {
|
||||
echo "===== Failed to configure QoS ====="
|
||||
}
|
||||
@ -39,7 +40,7 @@ echo "===== Configure QoS... ====="
|
||||
|
||||
echo "===== Configure services... ====="
|
||||
{
|
||||
source service.sh
|
||||
source service.sh > /dev/null
|
||||
} || {
|
||||
echo "===== Failed to configure services ====="
|
||||
}
|
||||
@ -47,12 +48,11 @@ echo "===== Configure services... ====="
|
||||
|
||||
echo "===== Configure system... ====="
|
||||
{
|
||||
source system.sh
|
||||
source system.sh > /dev/null
|
||||
} || {
|
||||
echo "===== Failed to configure system ====="
|
||||
}
|
||||
|
||||
|
||||
compare
|
||||
|
||||
{ # try commit, save
|
||||
|
Loading…
Reference in New Issue
Block a user