(List (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS errexit]} ) (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS nounset]} ) (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS pipefail]} ) (Com {[LIT_CHARS hostnamectl]} {[LIT_CHARS set-hostname]} {[VarSub NODE_NAME]} ) (= scope= flags=0 words=[] bindings=[('if_to_edit', {[DQ ]})]) (If (DBracket {B2 BINARY_STRING_TILDE_EQUAL {[DQ [ComSub (Com {[LIT_CHARS grep]} {[SQ ]} {[LIT_CHARS /etc/os-release]})]]} {[LIT_OTHER "^"] [LIT_VAR_LIKE "VERSION_ID="] [LIT_CHARS 23]}}) (List (= scope= flags=0 words=[] bindings=[('NETWORK_CONF_PATH', {[LIT_CHARS /etc/sysconfig/network-scripts/]})]) (= scope= flags=0 words=[] bindings=[('if_to_edit', {[ComSub (Pipeline (Com {[LIT_CHARS find]} {[VarSub NETWORK_CONF_PATH] [LIT_CHARS ifcfg-] [LIT_OTHER "*"]}) (Com {[LIT_CHARS xargs]} {[LIT_CHARS grep]} {[LIT_CHARS -l]} {[LIT_CHARS VAGRANT-BEGIN]}) )]})]) (For if_conf [{[VarSub if_to_edit]}]) (List (AndOr OP_OR_IF (Com {[LIT_CHARS grep]} {[LIT_CHARS -q]} {[LIT_OTHER "^"] [LIT_VAR_LIKE "NM_CONTROLLED="]} {[VarSub if_conf]} ) (Com {[LIT_CHARS echo]} {[SQ ]} < (FilenameRedirectNode filename={[VarSub if_conf]} >"> 1), > ) ) (Com {[LIT_CHARS sed]} {[LIT_CHARS -i]} {[SQ ]} {[VarSub if_conf]} ) ) ) (Com {[LIT_CHARS systemctl]} {[LIT_CHARS restart]} {[LIT_CHARS network]} ) ) ) (= scope= flags=0 words=[] bindings=[('NETWORK_IF_NAME', {[ComSub (Pipeline (Com {[LIT_CHARS echo]} {[VarSub if_to_edit]}) (Com {[LIT_CHARS awk]} {[LIT_CHARS -F-]} {[SQ ]}) )]})]) (If (DBracket {B1 UNARY_STRING_z {[DQ [VarSub NETWORK_IF_NAME]]}}) (= scope= flags=0 words=[] bindings=[('NETWORK_IF_NAME', {[VarSub DEFAULT_NETWORK_IF_NAME]})]) ) (If (Com {[LIT_DBRACKET_LIKE "["]} {[LIT_OTHER "!"]} {[DQ [ComSub (Pipeline (Com {[LIT_CHARS cat]} {[LIT_CHARS /etc/hosts]}) (Com {[LIT_CHARS grep]} {[VarSub MASTER_NAME]}) )]]} {[LIT_DBRACKET_LIKE "]"]} ) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Adding "][VarSub MASTER_NAME][LIT_CHARS " to hosts file"]]} ) (Com {[LIT_CHARS echo]} {[DQ [VarSub MASTER_IP][LIT_CHARS " "][VarSub MASTER_NAME]]} < (FilenameRedirectNode filename={[LIT_CHARS /etc/hosts]} >"> 1), > ) ) ) (Com {[LIT_CHARS echo]} {[DQ [VarSub NODE_IP][LIT_CHARS " "][VarSub NODE_NAME]]} < (FilenameRedirectNode filename={[LIT_CHARS /etc/hosts]} >"> 1), > ) (ForExpr {A2 AS_OP_EQUAL {A Atom NODE_ARITH_WORD {[VarSub i]}} {A Atom NODE_ARITH_WORD {[AS_NUM_LITERAL 0]}}} {A2 AS_OP_LESS {A Atom NODE_ARITH_WORD {[VarSub i]}} {A Atom NODE_ARITH_WORD {[VarSub NODE_NAMES bracket_op=(Index {A Atom NODE_ARITH_WORD {AS_OP_AT "@"}}) transform_ops=[(#len)]]}}} {A1 AS_OP_DPLUS {A Atom NODE_ARITH_WORD {[VarSub i]}} } (List (= scope= flags=0 words=[] bindings=[('node', {[VarSub NODE_NAMES bracket_op=(Index {A Atom NODE_ARITH_WORD {[VarSub i]}})]})]) (= scope= flags=0 words=[] bindings=[('ip', {[VarSub NODE_IPS bracket_op=(Index {A Atom NODE_ARITH_WORD {[VarSub i]}})]})]) (If (Com {[LIT_DBRACKET_LIKE "["]} {[LIT_OTHER "!"]} {[DQ [ComSub (Pipeline (Com {[LIT_CHARS cat]} {[LIT_CHARS /etc/hosts]}) (Com {[LIT_CHARS grep]} {[VarSub node]}) )]]} {[LIT_DBRACKET_LIKE "]"]} ) (List (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Adding "][VarSub node][LIT_CHARS " to hosts file"]]} ) (Com {[LIT_CHARS echo]} {[DQ [VarSub ip][LIT_CHARS " "][VarSub node]]} < (FilenameRedirectNode filename={[LIT_CHARS /etc/hosts]} >"> 1), > ) ) ) ) ) (Com {[LIT_CHARS enable-accounting]} ) (Com {[LIT_CHARS prepare-package-manager]} ) (If (Com {[LIT_DBRACKET_LIKE "["]} {[DQ [VarSub NETWORK_PROVIDER]]} {[LIT_NEQUAL "!="]} {[DQ [LIT_CHARS kubenet]]} {[LIT_DBRACKET_LIKE "]"]} ) (Com {[LIT_CHARS provision-network-node]} ) ) (Com {[LIT_CHARS write-salt-config]} {[LIT_CHARS kubernetes-pool]} ) (= scope= flags=0 words=[] bindings=[('known_kubeconfig_file', {[DQ [LIT_CHARS /srv/salt-overlay/salt/kubelet/kubeconfig]]})]) (If (DBracket {B! {B1 UNARY_FILE_f {[DQ [VarSub known_kubeconfig_file]]}}}) (List (Com {[LIT_CHARS create-salt-kubelet-auth]} ) (Com {[LIT_CHARS create-salt-kubeproxy-auth]} ) ) (ElseTrue) (Com {[LIT_CHARS systemctl]} {[LIT_CHARS stop]} {[LIT_CHARS kubelet]} ) ) (Com {[LIT_CHARS install-salt]} ) (Com {[LIT_CHARS add-volume-support]} ) (Com {[LIT_CHARS run-salt]} ) (Com {[LIT_CHARS dnf]} {[LIT_CHARS install]} {[LIT_CHARS -y]} {[LIT_CHARS socat]} {[LIT_CHARS ethtool]} ) (Com {[LIT_CHARS dnf]} {[LIT_CHARS update]} {[LIT_CHARS -y]} {[LIT_CHARS docker]} ) )