testing: Make sure the whitelist plugin is ready before configuring it
This commit is contained in:
1 parent
09f1fb82f9
commit
722a8a177e
1 file changed
+3
-1
@@ -4,12 +4,14 @@ dave::iptables-restore < /etc/iptables.rules
|
|||||||
carol::ipsec start
|
carol::ipsec start
|
||||||
dave::ipsec start
|
dave::ipsec start
|
||||||
moon::ipsec start
|
moon::ipsec start
|
||||||
|
moon::expect-connection rw
|
||||||
moon::ipsec whitelist add alice@strongswan.org
|
moon::ipsec whitelist add alice@strongswan.org
|
||||||
moon::ipsec whitelist add bob@strongswan.org
|
moon::ipsec whitelist add bob@strongswan.org
|
||||||
moon::ipsec whitelist add carol@strongswan.org
|
moon::ipsec whitelist add carol@strongswan.org
|
||||||
moon::ipsec whitelist enable
|
moon::ipsec whitelist enable
|
||||||
moon::ipsec whitelist list
|
moon::ipsec whitelist list
|
||||||
carol::sleep 2
|
carol::expect-connection home
|
||||||
carol::ipsec up home
|
carol::ipsec up home
|
||||||
|
dave::expect-connection home
|
||||||
dave::ipsec up home
|
dave::ipsec up home
|
||||||
carol::sleep 1
|
carol::sleep 1
|
||||||
Reference in new issue
Block a user