(List (Com {[LIT_CHARS source]} {[DQ [VarSub HOME][LIT_CHARS /kube/][VarSub KUBE_CONFIG_FILE transform_ops=[VS_UNARY_DPOUND {[LIT_CHARS "*"] [LIT_SLASH /]}]]]} ) (If (AndOr OP_AND_IF (DBracket {B1 UNARY_STRING_n {[DQ [VarSub DEBUG]]}}) (AndOr OP_AND_IF (DBracket {B2 BINARY_STRING_NOT_EQUAL {[DQ [VarSub DEBUG]]} {[LIT_CHARS false]}}) (DBracket {B2 BINARY_STRING_NOT_EQUAL {[DQ [VarSub DEBUG]]} {[LIT_CHARS FALSE]}}) ) ) (Com {[LIT_CHARS set]} {[LIT_CHARS -x]} ) ) (If (DBracket {B2 BINARY_STRING_NOT_EQUAL {[DQ [ComSub (Com {[LIT_CHARS id]} {[LIT_CHARS -u]})]]} {[DQ [LIT_CHARS 0]]}}) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Please run as root"]]} < (DescriptorRedirectNode target={[LIT_CHARS 2]} &"> 1), > ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 1]} ) ) ) (FunctionDef config_etcd [] (List (= scope= flags=0 words=[] bindings=[('attempt', {[LIT_CHARS 0]})]) (While (Com {[LIT_CHARS true]} ) (List (Com {[LIT_CHARS /opt/bin/etcdctl]} {[LIT_CHARS get]} {[LIT_CHARS /coreos.com/network/config]} ) (If (DBracket {B2 BINARY_STRING_EQUAL {[DQ [VarSub ?]]} {[LIT_CHARS 0]}}) (Com {[LIT_CHARS break]} ) (ElseTrue) (List (If (DParen {A2 AS_OP_GREAT {A Atom NODE_ARITH_WORD {[VarSub attempt]}} {A Atom NODE_ARITH_WORD {[AS_NUM_LITERAL 600]}}}) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "timeout waiting for /coreos.com/network/config"]]} < (FilenameRedirectNode filename={[LIT_TILDE "~"] [LIT_CHARS /kube/err.log]} >"> 1), > ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 2]} ) ) ) (Com {[LIT_CHARS /opt/bin/etcdctl]} {[LIT_CHARS mk]} {[LIT_CHARS /coreos.com/network/config]} {[DQ [LIT_CHARS "{"][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS Network][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS ":"][\ LIT_ESCAPED_CHAR "\\\""][VarSub FLANNEL_NET][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS ", "][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS Backend][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS ": "][VarSub FLANNEL_BACKEND test_op=VS_TEST_COLON_HYPHEN {[DQ [LIT_CHARS "{"][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS Type][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS ": "][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS vxlan][\ LIT_ESCAPED_CHAR "\\\""][LIT_CHARS "}"]]}][VarSub FLANNEL_OTHER_NET_CONFIG][LIT_CHARS "}"]]} ) (= scope= flags=0 words=[] bindings=[('attempt', {[ArithSub {A2 AS_OP_PLUS {A Atom NODE_ARITH_WORD {[VarSub attempt]}} {A Atom NODE_ARITH_WORD {[AS_NUM_LITERAL 1]}}}]})]) (Com {[LIT_CHARS sleep]} {[LIT_CHARS 3]} ) ) ) ) ) ) ) (FunctionDef restart_docker [] (List (= scope= flags=0 words=[] bindings=[('attempt', {[LIT_CHARS 0]})]) (While (DBracket {B! {B1 UNARY_FILE_f {[LIT_CHARS /run/flannel/subnet.env]}}}) (List (If (DParen {A2 AS_OP_GREAT {A Atom NODE_ARITH_WORD {[VarSub attempt]}} {A Atom NODE_ARITH_WORD {[AS_NUM_LITERAL 200]}}}) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "timeout waiting for /run/flannel/subnet.env"]]} < (FilenameRedirectNode filename={[LIT_TILDE "~"] [LIT_CHARS /kube/err.log]} >"> 1), > ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 2]} ) ) ) (= scope= flags=0 words=[] bindings=[('attempt', {[ArithSub {A2 AS_OP_PLUS {A Atom NODE_ARITH_WORD {[VarSub attempt]}} {A Atom NODE_ARITH_WORD {[AS_NUM_LITERAL 1]}}}]})]) (Com {[LIT_CHARS sleep]} {[LIT_CHARS 3]} ) ) ) (Com {[LIT_CHARS sudo]} {[LIT_CHARS ip]} {[LIT_CHARS link]} {[LIT_CHARS set]} {[LIT_CHARS dev]} {[LIT_CHARS docker0]} {[LIT_CHARS down]} ) (Com {[LIT_CHARS sudo]} {[LIT_CHARS brctl]} {[LIT_CHARS delbr]} {[LIT_CHARS docker0]} ) (Com {[LIT_CHARS source]} {[LIT_CHARS /run/flannel/subnet.env]} ) (Com {[LIT_CHARS source]} {[LIT_CHARS /etc/default/docker]} ) (Com {[LIT_CHARS echo]} {[LIT_VAR_LIKE "DOCKER_OPTS="] [\ LIT_ESCAPED_CHAR "\\\""] =} {[LIT_CHARS -H]} {[LIT_CHARS tcp] [LIT_OTHER ":"] [LIT_CHARS //127.0.0.1] [LIT_OTHER ":"] [LIT_CHARS 4243]} {[LIT_CHARS -H]} {[LIT_CHARS unix] [LIT_OTHER ":"] [LIT_CHARS ///var/run/docker.sock]} {[LIT_CHARS --bip] [LIT_DBRACKET_LIKE "="] [VarSub FLANNEL_SUBNET]} {[LIT_CHARS --mtu] [LIT_DBRACKET_LIKE "="] [VarSub FLANNEL_MTU] [\ LIT_ESCAPED_CHAR "\\\""]} < (FilenameRedirectNode filename={[LIT_CHARS /etc/default/docker]} "> 1), > ) (Com {[LIT_CHARS sudo]} {[LIT_CHARS service]} {[LIT_CHARS docker]} {[LIT_CHARS restart]} ) ) ) (If (DBracket {B2 BINARY_STRING_EQUAL {[VarSub 1]} {[DQ [LIT_CHARS i]]}}) (Com {[LIT_CHARS restart_docker]} ) (DBracket {B2 BINARY_STRING_EQUAL {[VarSub 1]} {[DQ [LIT_CHARS ai]]}}) (List (Com {[LIT_CHARS config_etcd]} ) (Com {[LIT_CHARS restart_docker]} ) ) (DBracket {B2 BINARY_STRING_EQUAL {[VarSub 1]} {[DQ [LIT_CHARS a]]}}) (Com {[LIT_CHARS config_etcd]} ) (ElseTrue) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Another argument is required."]]} ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 1]} ) ) ) )