summaryrefslogtreecommitdiff
path: root/docs/_locale/en/LC_MESSAGES/automation.mo
blob: cb5be086ddb5e7b31f4906fd5107413a126e043c (plain)
ofshex dumpascii
0000 de 12 04 95 00 00 00 00 7a 01 00 00 1c 00 00 00 ec 0b 00 00 fd 01 00 00 bc 17 00 00 00 00 00 00 ........z.......................
0020 b0 1f 00 00 38 00 00 00 b1 1f 00 00 09 00 00 00 ea 1f 00 00 10 00 00 00 f4 1f 00 00 10 00 00 00 ....8...........................
0040 05 20 00 00 0f 00 00 00 16 20 00 00 0f 00 00 00 26 20 00 00 04 00 00 00 36 20 00 00 69 00 00 00 ................&.......6...i...
0060 3b 20 00 00 69 00 00 00 a5 20 00 00 25 00 00 00 0f 21 00 00 6a 00 00 00 35 21 00 00 54 00 00 00 ;...i.......%....!..j...5!..T...
0080 a0 21 00 00 5d 00 00 00 f5 21 00 00 26 00 00 00 53 22 00 00 0c 00 00 00 7a 22 00 00 0a 00 00 00 .!..]....!..&...S"......z"......
00a0 87 22 00 00 09 00 00 00 92 22 00 00 06 00 00 00 9c 22 00 00 09 00 00 00 a3 22 00 00 07 00 00 00 ."......."......."......."......
00c0 ad 22 00 00 06 00 00 00 b5 22 00 00 09 00 00 00 bc 22 00 00 05 00 00 00 c6 22 00 00 80 00 00 00 ."......."......."......."......
00e0 cc 22 00 00 5d 00 00 00 4d 23 00 00 45 00 00 00 ab 23 00 00 24 00 00 00 f1 23 00 00 44 00 00 00 ."..]...M#..E....#..$....#..D...
0100 16 24 00 00 1e 00 00 00 5b 24 00 00 3f 01 00 00 7a 24 00 00 5e 00 00 00 ba 25 00 00 46 00 00 00 .$......[$..?...z$..^....%..F...
0120 19 26 00 00 20 00 00 00 60 26 00 00 30 00 00 00 81 26 00 00 31 00 00 00 b2 26 00 00 35 00 00 00 .&......`&..0....&..1....&..5...
0140 e4 26 00 00 4b 00 00 00 1a 27 00 00 2f 00 00 00 66 27 00 00 1e 00 00 00 96 27 00 00 20 00 00 00 .&..K....'../...f'.......'......
0160 b5 27 00 00 8f 00 00 00 d6 27 00 00 25 00 00 00 66 28 00 00 26 00 00 00 8c 28 00 00 22 00 00 00 .'.......'..%...f(..&....(.."...
0180 b3 28 00 00 2d 00 00 00 d6 28 00 00 2c 00 00 00 04 29 00 00 2d 00 00 00 31 29 00 00 34 00 00 00 .(..-....(..,....)..-...1)..4...
01a0 5f 29 00 00 48 00 00 00 94 29 00 00 60 00 00 00 dd 29 00 00 ac 00 00 00 3e 2a 00 00 90 00 00 00 _)..H....)..`....)......>*......
01c0 eb 2a 00 00 27 00 00 00 7c 2b 00 00 17 00 00 00 a4 2b 00 00 17 00 00 00 bc 2b 00 00 2a 00 00 00 .*..'...|+.......+.......+..*...
01e0 d4 2b 00 00 32 00 00 00 ff 2b 00 00 29 00 00 00 32 2c 00 00 2d 00 00 00 5c 2c 00 00 36 00 00 00 .+..2....+..)...2,..-...\,..6...
0200 8a 2c 00 00 37 00 00 00 c1 2c 00 00 1a 00 00 00 f9 2c 00 00 46 00 00 00 14 2d 00 00 20 00 00 00 .,..7....,.......,..F....-......
0220 5b 2d 00 00 2c 00 00 00 7c 2d 00 00 2b 00 00 00 a9 2d 00 00 30 00 00 00 d5 2d 00 00 70 00 00 00 [-..,...|-..+....-..0....-..p...
0240 06 2e 00 00 6b 00 00 00 77 2e 00 00 a3 00 00 00 e3 2e 00 00 a1 00 00 00 87 2f 00 00 93 00 00 00 ....k...w................/......
0260 29 30 00 00 a3 00 00 00 bd 30 00 00 30 00 00 00 61 31 00 00 c1 00 00 00 92 31 00 00 c2 00 00 00 )0.......0..0...a1.......1......
0280 54 32 00 00 f2 00 00 00 17 33 00 00 6d 00 00 00 0a 34 00 00 3d 00 00 00 78 34 00 00 0d 00 00 00 T2.......3..m....4..=...x4......
02a0 b6 34 00 00 03 00 00 00 c4 34 00 00 2a 00 00 00 c8 34 00 00 11 00 00 00 f3 34 00 00 c8 00 00 00 .4.......4..*....4.......4......
02c0 05 35 00 00 ca 00 00 00 ce 35 00 00 c6 00 00 00 99 36 00 00 7c 00 00 00 60 37 00 00 64 00 00 00 .5.......5.......6..|...`7..d...
02e0 dd 37 00 00 2e 00 00 00 42 38 00 00 44 00 00 00 71 38 00 00 bd 00 00 00 b6 38 00 00 19 00 00 00 .7......B8..D...q8.......8......
0300 74 39 00 00 07 00 00 00 8e 39 00 00 8f 00 00 00 96 39 00 00 41 00 00 00 26 3a 00 00 0e 00 00 00 t9.......9.......9..A...&:......
0320 68 3a 00 00 05 00 00 00 77 3a 00 00 2c 00 00 00 7d 3a 00 00 82 00 00 00 aa 3a 00 00 64 00 00 00 h:......w:..,...}:.......:..d...
0340 2d 3b 00 00 22 00 00 00 92 3b 00 00 21 00 00 00 b5 3b 00 00 33 00 00 00 d7 3b 00 00 19 01 00 00 -;.."....;..!....;..3....;......
0360 0b 3c 00 00 14 00 00 00 25 3d 00 00 22 00 00 00 3a 3d 00 00 15 00 00 00 5d 3d 00 00 21 00 00 00 .<......%=.."...:=......]=..!...
0380 73 3d 00 00 11 00 00 00 95 3d 00 00 23 00 00 00 a7 3d 00 00 16 00 00 00 cb 3d 00 00 0e 00 00 00 s=.......=..#....=.......=......
03a0 e2 3d 00 00 0d 00 00 00 f1 3d 00 00 98 00 00 00 ff 3d 00 00 1d 00 00 00 98 3e 00 00 19 00 00 00 .=.......=.......=.......>......
03c0 b6 3e 00 00 14 00 00 00 d0 3e 00 00 19 00 00 00 e5 3e 00 00 13 00 00 00 ff 3e 00 00 1b 00 00 00 .>.......>.......>.......>......
03e0 13 3f 00 00 2a 00 00 00 2f 3f 00 00 07 00 00 00 5a 3f 00 00 18 00 00 00 62 3f 00 00 1f 00 00 00 .?..*.../?......Z?......b?......
0400 7b 3f 00 00 0f 00 00 00 9b 3f 00 00 c7 00 00 00 ab 3f 00 00 0f 00 00 00 73 40 00 00 5c 00 00 00 {?.......?.......?......s@..\...
0420 83 40 00 00 49 00 00 00 e0 40 00 00 1f 00 00 00 2a 41 00 00 21 00 00 00 4a 41 00 00 2c 00 00 00 .@..I....@......*A..!...JA..,...
0440 6c 41 00 00 1f 00 00 00 99 41 00 00 21 00 00 00 b9 41 00 00 2b 00 00 00 db 41 00 00 07 00 00 00 lA.......A..!....A..+....A......
0460 07 42 00 00 4f 00 00 00 0f 42 00 00 19 00 00 00 5f 42 00 00 13 00 00 00 79 42 00 00 08 00 00 00 .B..O....B......_B......yB......
0480 8d 42 00 00 1f 00 00 00 96 42 00 00 26 00 00 00 b6 42 00 00 0d 00 00 00 dd 42 00 00 20 00 00 00 .B.......B..&....B.......B......
04a0 eb 42 00 00 22 00 00 00 0c 43 00 00 24 00 00 00 2f 43 00 00 21 00 00 00 54 43 00 00 23 00 00 00 .B.."....C..$.../C..!...TC..#...
04c0 76 43 00 00 25 00 00 00 9a 43 00 00 53 00 00 00 c0 43 00 00 3e 00 00 00 14 44 00 00 3d 00 00 00 vC..%....C..S....C..>....D..=...
04e0 53 44 00 00 3a 00 00 00 91 44 00 00 9d 00 00 00 cc 44 00 00 24 00 00 00 6a 45 00 00 37 00 00 00 SD..:....D.......D..$...jE..7...
0500 8f 45 00 00 2d 00 00 00 c7 45 00 00 b3 00 00 00 f5 45 00 00 6b 00 00 00 a9 46 00 00 46 00 00 00 .E..-....E.......E..k....F..F...
0520 15 47 00 00 3f 00 00 00 5c 47 00 00 0f 00 00 00 9c 47 00 00 13 00 00 00 ac 47 00 00 0f 00 00 00 .G..?...\G.......G.......G......
0540 c0 47 00 00 19 00 00 00 d0 47 00 00 55 00 00 00 ea 47 00 00 68 00 00 00 40 48 00 00 6a 00 00 00 .G.......G..U....G..h...@H..j...
0560 a9 48 00 00 6c 00 00 00 14 49 00 00 6c 00 00 00 81 49 00 00 a7 00 00 00 ee 49 00 00 3c 00 00 00 .H..l....I..l....I.......I..<...
0580 96 4a 00 00 4d 01 00 00 d3 4a 00 00 b3 00 00 00 21 4c 00 00 8d 00 00 00 d5 4c 00 00 8f 00 00 00 .J..M....J......!L.......L......
05a0 63 4d 00 00 31 00 00 00 f3 4d 00 00 42 00 00 00 25 4e 00 00 2e 00 00 00 68 4e 00 00 b2 00 00 00 cM..1....M..B...%N......hN......
05c0 97 4e 00 00 b4 00 00 00 4a 4f 00 00 b6 00 00 00 ff 4f 00 00 62 00 00 00 b6 50 00 00 a9 00 00 00 .N......JO.......O..b....P......
05e0 19 51 00 00 15 00 00 00 c3 51 00 00 1e 00 00 00 d9 51 00 00 c7 00 00 00 f8 51 00 00 1e 00 00 00 .Q.......Q.......Q.......Q......
0600 c0 52 00 00 0c 00 00 00 df 52 00 00 d7 00 00 00 ec 52 00 00 58 01 00 00 c4 53 00 00 30 00 00 00 .R.......R.......R..X....S..0...
0620 1d 55 00 00 9b 00 00 00 4e 55 00 00 30 00 00 00 ea 55 00 00 06 00 00 00 1b 56 00 00 1a 00 00 00 .U......NU..0....U.......V......
0640 22 56 00 00 07 00 00 00 3d 56 00 00 0d 00 00 00 45 56 00 00 18 00 00 00 53 56 00 00 b6 00 00 00 "V......=V......EV......SV......
0660 6c 56 00 00 40 00 00 00 23 57 00 00 07 00 00 00 64 57 00 00 06 00 00 00 6c 57 00 00 fa 00 00 00 lV..@...#W......dW......lW......
0680 73 57 00 00 50 00 00 00 6e 58 00 00 34 00 00 00 bf 58 00 00 a5 00 00 00 f4 58 00 00 12 00 00 00 sW..P...nX..4....X.......X......
06a0 9a 59 00 00 81 00 00 00 ad 59 00 00 15 00 00 00 2f 5a 00 00 07 00 00 00 45 5a 00 00 16 00 00 00 .Y.......Y....../Z......EZ......
06c0 4d 5a 00 00 06 00 00 00 64 5a 00 00 0e 00 00 00 6b 5a 00 00 4a 00 00 00 7a 5a 00 00 12 00 00 00 MZ......dZ......kZ..J...zZ......
06e0 c5 5a 00 00 1d 00 00 00 d8 5a 00 00 11 00 00 00 f6 5a 00 00 2b 00 00 00 08 5b 00 00 2d 00 00 00 .Z.......Z.......Z..+....[..-...
0700 34 5b 00 00 2f 00 00 00 62 5b 00 00 18 00 00 00 92 5b 00 00 28 00 00 00 ab 5b 00 00 1e 00 00 00 4[../...b[.......[..(....[......
0720 d4 5b 00 00 06 00 00 00 f3 5b 00 00 93 01 00 00 fa 5b 00 00 0a 00 00 00 8e 5d 00 00 70 00 00 00 .[.......[.......[.......]..p...
0740 99 5d 00 00 0c 00 00 00 0a 5e 00 00 0d 00 00 00 17 5e 00 00 0b 00 00 00 25 5e 00 00 15 00 00 00 .].......^.......^......%^......
0760 31 5e 00 00 1a 00 00 00 47 5e 00 00 18 00 00 00 62 5e 00 00 1d 00 00 00 7b 5e 00 00 04 00 00 00 1^......G^......b^......{^......
0780 99 5e 00 00 1a 00 00 00 9e 5e 00 00 27 00 00 00 b9 5e 00 00 8c 00 00 00 e1 5e 00 00 15 00 00 00 .^.......^..'....^.......^......
07a0 6e 5f 00 00 c9 00 00 00 84 5f 00 00 0b 00 00 00 4e 60 00 00 62 00 00 00 5a 60 00 00 61 00 00 00 n_......._......N`..b...Z`..a...
07c0 bd 60 00 00 1d 00 00 00 1f 61 00 00 1f 00 00 00 3d 61 00 00 21 00 00 00 5d 61 00 00 05 00 00 00 .`.......a......=a..!...]a......
07e0 7f 61 00 00 33 00 00 00 85 61 00 00 81 00 00 00 b9 61 00 00 17 00 00 00 3b 62 00 00 12 00 00 00 .a..3....a.......a......;b......
0800 53 62 00 00 1a 00 00 00 66 62 00 00 22 00 00 00 81 62 00 00 24 00 00 00 a4 62 00 00 26 00 00 00 Sb......fb.."....b..$....b..&...
0820 c9 62 00 00 1b 00 00 00 f0 62 00 00 23 00 00 00 0c 63 00 00 25 00 00 00 30 63 00 00 27 00 00 00 .b.......b..#....c..%...0c..'...
0840 56 63 00 00 35 00 00 00 7e 63 00 00 19 00 00 00 b4 63 00 00 09 00 00 00 ce 63 00 00 8d 00 00 00 Vc..5...~c.......c.......c......
0860 d8 63 00 00 12 00 00 00 66 64 00 00 18 01 00 00 79 64 00 00 7d 00 00 00 92 65 00 00 80 00 00 00 .c......fd......yd..}....e......
0880 10 66 00 00 45 00 00 00 91 66 00 00 35 00 00 00 d7 66 00 00 2f 00 00 00 0d 67 00 00 d2 00 00 00 .f..E....f..5....f../....g......
08a0 3d 67 00 00 84 00 00 00 10 68 00 00 48 00 00 00 95 68 00 00 21 00 00 00 de 68 00 00 61 00 00 00 =g.......h..H....h..!....h..a...
08c0 00 69 00 00 41 00 00 00 62 69 00 00 70 00 00 00 a4 69 00 00 54 00 00 00 15 6a 00 00 bc 00 00 00 .i..A...bi..p....i..T....j......
08e0 6a 6a 00 00 85 00 00 00 27 6b 00 00 e7 00 00 00 ad 6b 00 00 2a 00 00 00 95 6c 00 00 3b 00 00 00 jj......'k.......k..*....l..;...
0900 c0 6c 00 00 93 00 00 00 fc 6c 00 00 1d 00 00 00 90 6d 00 00 37 00 00 00 ae 6d 00 00 8b 00 00 00 .l.......l.......m..7....m......
0920 e6 6d 00 00 49 00 00 00 72 6e 00 00 48 00 00 00 bc 6e 00 00 90 00 00 00 05 6f 00 00 31 00 00 00 .m..I...rn..H....n.......o..1...
0940 96 6f 00 00 7f 00 00 00 c8 6f 00 00 47 00 00 00 48 70 00 00 36 00 00 00 90 70 00 00 0f 00 00 00 .o.......o..G...Hp..6....p......
0960 c7 70 00 00 2c 00 00 00 d7 70 00 00 95 00 00 00 04 71 00 00 09 00 00 00 9a 71 00 00 ae 00 00 00 .p..,....p.......q.......q......
0980 a4 71 00 00 ac 00 00 00 53 72 00 00 18 00 00 00 00 73 00 00 0c 00 00 00 19 73 00 00 0c 00 00 00 .q......Sr.......s.......s......
09a0 26 73 00 00 2a 00 00 00 33 73 00 00 39 00 00 00 5e 73 00 00 25 00 00 00 98 73 00 00 07 00 00 00 &s..*...3s..9...^s..%....s......
09c0 be 73 00 00 08 00 00 00 c6 73 00 00 0f 00 00 00 cf 73 00 00 0e 00 00 00 df 73 00 00 18 00 00 00 .s.......s.......s.......s......
09e0 ee 73 00 00 0f 00 00 00 07 74 00 00 3a 00 00 00 17 74 00 00 48 00 00 00 52 74 00 00 2b 00 00 00 .s.......t..:....t..H...Rt..+...
0a00 9b 74 00 00 64 00 00 00 c7 74 00 00 5c 00 00 00 2c 75 00 00 6d 00 00 00 89 75 00 00 66 01 00 00 .t..d....t..\...,u..m....u..f...
0a20 f7 75 00 00 6b 01 00 00 5e 77 00 00 64 00 00 00 ca 78 00 00 32 00 00 00 2f 79 00 00 5b 00 00 00 .u..k...^w..d....x..2.../y..[...
0a40 62 79 00 00 ed 01 00 00 be 79 00 00 31 00 00 00 ac 7b 00 00 0e 01 00 00 de 7b 00 00 0c 00 00 00 by.......y..1....{.......{......
0a60 ed 7c 00 00 48 00 00 00 fa 7c 00 00 cd 00 00 00 43 7d 00 00 cf 00 00 00 11 7e 00 00 8a 00 00 00 .|..H....|......C}.......~......
0a80 e1 7e 00 00 ce 00 00 00 6c 7f 00 00 a2 00 00 00 3b 80 00 00 5d 00 00 00 de 80 00 00 4d 00 00 00 .~......l.......;...].......M...
0aa0 3c 81 00 00 4e 00 00 00 8a 81 00 00 21 00 00 00 d9 81 00 00 21 00 00 00 fb 81 00 00 59 00 00 00 <...N.......!.......!.......Y...
0ac0 1d 82 00 00 1b 00 00 00 77 82 00 00 75 00 00 00 93 82 00 00 18 00 00 00 09 83 00 00 b5 00 00 00 ........w...u...................
0ae0 22 83 00 00 44 00 00 00 d8 83 00 00 15 01 00 00 1d 84 00 00 bb 00 00 00 33 85 00 00 83 00 00 00 "...D...................3.......
0b00 ef 85 00 00 ab 00 00 00 73 86 00 00 0c 00 00 00 1f 87 00 00 03 00 00 00 2c 87 00 00 0b 00 00 00 ........s...............,.......
0b20 30 87 00 00 18 00 00 00 3c 87 00 00 d3 00 00 00 55 87 00 00 0c 00 00 00 29 88 00 00 39 00 00 00 0.......<.......U.......)...9...
0b40 36 88 00 00 0e 00 00 00 70 88 00 00 05 00 00 00 7f 88 00 00 3c 00 00 00 85 88 00 00 56 00 00 00 6.......p...........<.......V...
0b60 c2 88 00 00 0c 00 00 00 19 89 00 00 07 00 00 00 26 89 00 00 08 00 00 00 2e 89 00 00 09 00 00 00 ................&...............
0b80 37 89 00 00 28 00 00 00 41 89 00 00 06 00 00 00 6a 89 00 00 c6 00 00 00 71 89 00 00 45 00 00 00 7...(...A.......j.......q...E...
0ba0 38 8a 00 00 0f 00 00 00 7e 8a 00 00 10 00 00 00 8e 8a 00 00 07 00 00 00 9f 8a 00 00 07 00 00 00 8.......~.......................
0bc0 a7 8a 00 00 06 00 00 00 af 8a 00 00 0c 00 00 00 b6 8a 00 00 0b 00 00 00 c3 8a 00 00 1b 00 00 00 ................................
0be0 cf 8a 00 00 07 00 00 00 eb 8a 00 00 da 00 00 00 f3 8a 00 00 38 00 00 00 ce 8b 00 00 09 00 00 00 ....................8...........
0c00 07 8c 00 00 10 00 00 00 11 8c 00 00 10 00 00 00 22 8c 00 00 0f 00 00 00 33 8c 00 00 0f 00 00 00 ................".......3.......
0c20 43 8c 00 00 04 00 00 00 53 8c 00 00 69 00 00 00 58 8c 00 00 69 00 00 00 c2 8c 00 00 25 00 00 00 C.......S...i...X...i.......%...
0c40 2c 8d 00 00 6a 00 00 00 52 8d 00 00 54 00 00 00 bd 8d 00 00 5d 00 00 00 12 8e 00 00 26 00 00 00 ,...j...R...T.......].......&...
0c60 70 8e 00 00 0c 00 00 00 97 8e 00 00 0a 00 00 00 a4 8e 00 00 09 00 00 00 af 8e 00 00 06 00 00 00 p...............................
0c80 b9 8e 00 00 09 00 00 00 c0 8e 00 00 07 00 00 00 ca 8e 00 00 06 00 00 00 d2 8e 00 00 09 00 00 00 ................................
0ca0 d9 8e 00 00 05 00 00 00 e3 8e 00 00 80 00 00 00 e9 8e 00 00 5d 00 00 00 6a 8f 00 00 45 00 00 00 ....................]...j...E...
0cc0 c8 8f 00 00 24 00 00 00 0e 90 00 00 44 00 00 00 33 90 00 00 1e 00 00 00 78 90 00 00 3f 01 00 00 ....$.......D...3.......x...?...
0ce0 97 90 00 00 5e 00 00 00 d7 91 00 00 46 00 00 00 36 92 00 00 20 00 00 00 7d 92 00 00 30 00 00 00 ....^.......F...6.......}...0...
0d00 9e 92 00 00 31 00 00 00 cf 92 00 00 35 00 00 00 01 93 00 00 4b 00 00 00 37 93 00 00 2f 00 00 00 ....1.......5.......K...7.../...
0d20 83 93 00 00 1e 00 00 00 b3 93 00 00 20 00 00 00 d2 93 00 00 8f 00 00 00 f3 93 00 00 25 00 00 00 ............................%...
0d40 83 94 00 00 26 00 00 00 a9 94 00 00 22 00 00 00 d0 94 00 00 2d 00 00 00 f3 94 00 00 2c 00 00 00 ....&.......".......-.......,...
0d60 21 95 00 00 2d 00 00 00 4e 95 00 00 34 00 00 00 7c 95 00 00 48 00 00 00 b1 95 00 00 60 00 00 00 !...-...N...4...|...H.......`...
0d80 fa 95 00 00 ac 00 00 00 5b 96 00 00 90 00 00 00 08 97 00 00 27 00 00 00 99 97 00 00 17 00 00 00 ........[...........'...........
0da0 c1 97 00 00 17 00 00 00 d9 97 00 00 2a 00 00 00 f1 97 00 00 32 00 00 00 1c 98 00 00 29 00 00 00 ............*.......2.......)...
0dc0 4f 98 00 00 2d 00 00 00 79 98 00 00 36 00 00 00 a7 98 00 00 37 00 00 00 de 98 00 00 1a 00 00 00 O...-...y...6.......7...........
0de0 16 99 00 00 46 00 00 00 31 99 00 00 20 00 00 00 78 99 00 00 2c 00 00 00 99 99 00 00 2b 00 00 00 ....F...1.......x...,.......+...
0e00 c6 99 00 00 30 00 00 00 f2 99 00 00 70 00 00 00 23 9a 00 00 6b 00 00 00 94 9a 00 00 a3 00 00 00 ....0.......p...#...k...........
0e20 00 9b 00 00 a1 00 00 00 a4 9b 00 00 93 00 00 00 46 9c 00 00 a3 00 00 00 da 9c 00 00 30 00 00 00 ................F...........0...
0e40 7e 9d 00 00 c1 00 00 00 af 9d 00 00 c2 00 00 00 71 9e 00 00 f2 00 00 00 34 9f 00 00 6d 00 00 00 ~...............q.......4...m...
0e60 27 a0 00 00 3d 00 00 00 95 a0 00 00 0d 00 00 00 d3 a0 00 00 03 00 00 00 e1 a0 00 00 2a 00 00 00 '...=.......................*...
0e80 e5 a0 00 00 11 00 00 00 10 a1 00 00 c8 00 00 00 22 a1 00 00 ca 00 00 00 eb a1 00 00 c6 00 00 00 ................"...............
0ea0 b6 a2 00 00 7c 00 00 00 7d a3 00 00 64 00 00 00 fa a3 00 00 2e 00 00 00 5f a4 00 00 44 00 00 00 ....|...}...d..........._...D...
0ec0 8e a4 00 00 bd 00 00 00 d3 a4 00 00 19 00 00 00 91 a5 00 00 07 00 00 00 ab a5 00 00 8f 00 00 00 ................................
0ee0 b3 a5 00 00 41 00 00 00 43 a6 00 00 0e 00 00 00 85 a6 00 00 05 00 00 00 94 a6 00 00 2c 00 00 00 ....A...C...................,...
0f00 9a a6 00 00 82 00 00 00 c7 a6 00 00 64 00 00 00 4a a7 00 00 22 00 00 00 af a7 00 00 21 00 00 00 ............d...J...".......!...
0f20 d2 a7 00 00 33 00 00 00 f4 a7 00 00 19 01 00 00 28 a8 00 00 14 00 00 00 42 a9 00 00 22 00 00 00 ....3...........(.......B..."...
0f40 57 a9 00 00 15 00 00 00 7a a9 00 00 21 00 00 00 90 a9 00 00 11 00 00 00 b2 a9 00 00 23 00 00 00 W.......z...!...............#...
0f60 c4 a9 00 00 16 00 00 00 e8 a9 00 00 0e 00 00 00 ff a9 00 00 0d 00 00 00 0e aa 00 00 98 00 00 00 ................................
0f80 1c aa 00 00 1d 00 00 00 b5 aa 00 00 19 00 00 00 d3 aa 00 00 14 00 00 00 ed aa 00 00 19 00 00 00 ................................
0fa0 02 ab 00 00 13 00 00 00 1c ab 00 00 1b 00 00 00 30 ab 00 00 2a 00 00 00 4c ab 00 00 07 00 00 00 ................0...*...L.......
0fc0 77 ab 00 00 18 00 00 00 7f ab 00 00 1f 00 00 00 98 ab 00 00 0f 00 00 00 b8 ab 00 00 c7 00 00 00 w...............................
0fe0 c8 ab 00 00 0f 00 00 00 90 ac 00 00 5c 00 00 00 a0 ac 00 00 49 00 00 00 fd ac 00 00 1f 00 00 00 ............\.......I...........
1000 47 ad 00 00 21 00 00 00 67 ad 00 00 2c 00 00 00 89 ad 00 00 1f 00 00 00 b6 ad 00 00 21 00 00 00 G...!...g...,...............!...
1020 d6 ad 00 00 2b 00 00 00 f8 ad 00 00 07 00 00 00 24 ae 00 00 4f 00 00 00 2c ae 00 00 19 00 00 00 ....+...........$...O...,.......
1040 7c ae 00 00 13 00 00 00 96 ae 00 00 08 00 00 00 aa ae 00 00 1f 00 00 00 b3 ae 00 00 26 00 00 00 |...........................&...
1060 d3 ae 00 00 0d 00 00 00 fa ae 00 00 20 00 00 00 08 af 00 00 22 00 00 00 29 af 00 00 24 00 00 00 ...................."...)...$...
1080 4c af 00 00 21 00 00 00 71 af 00 00 23 00 00 00 93 af 00 00 25 00 00 00 b7 af 00 00 53 00 00 00 L...!...q...#.......%.......S...
10a0 dd af 00 00 3e 00 00 00 31 b0 00 00 3d 00 00 00 70 b0 00 00 3a 00 00 00 ae b0 00 00 9d 00 00 00 ....>...1...=...p...:...........
10c0 e9 b0 00 00 24 00 00 00 87 b1 00 00 37 00 00 00 ac b1 00 00 2d 00 00 00 e4 b1 00 00 b3 00 00 00 ....$.......7.......-...........
10e0 12 b2 00 00 6b 00 00 00 c6 b2 00 00 46 00 00 00 32 b3 00 00 3f 00 00 00 79 b3 00 00 0f 00 00 00 ....k.......F...2...?...y.......
1100 b9 b3 00 00 13 00 00 00 c9 b3 00 00 0f 00 00 00 dd b3 00 00 19 00 00 00 ed b3 00 00 55 00 00 00 ............................U...
1120 07 b4 00 00 68 00 00 00 5d b4 00 00 6a 00 00 00 c6 b4 00 00 6c 00 00 00 31 b5 00 00 6c 00 00 00 ....h...]...j.......l...1...l...
1140 9e b5 00 00 a7 00 00 00 0b b6 00 00 3c 00 00 00 b3 b6 00 00 4d 01 00 00 f0 b6 00 00 b3 00 00 00 ............<.......M...........
1160 3e b8 00 00 8d 00 00 00 f2 b8 00 00 8f 00 00 00 80 b9 00 00 31 00 00 00 10 ba 00 00 42 00 00 00 >...................1.......B...
1180 42 ba 00 00 2e 00 00 00 85 ba 00 00 b2 00 00 00 b4 ba 00 00 b4 00 00 00 67 bb 00 00 b6 00 00 00 B.......................g.......
11a0 1c bc 00 00 62 00 00 00 d3 bc 00 00 a9 00 00 00 36 bd 00 00 15 00 00 00 e0 bd 00 00 1e 00 00 00 ....b...........6...............
11c0 f6 bd 00 00 c7 00 00 00 15 be 00 00 1e 00 00 00 dd be 00 00 0c 00 00 00 fc be 00 00 d7 00 00 00 ................................
11e0 09 bf 00 00 58 01 00 00 e1 bf 00 00 30 00 00 00 3a c1 00 00 9b 00 00 00 6b c1 00 00 30 00 00 00 ....X.......0...:.......k...0...
1200 07 c2 00 00 06 00 00 00 38 c2 00 00 1a 00 00 00 3f c2 00 00 07 00 00 00 5a c2 00 00 0d 00 00 00 ........8.......?.......Z.......
1220 62 c2 00 00 18 00 00 00 70 c2 00 00 b6 00 00 00 89 c2 00 00 40 00 00 00 40 c3 00 00 07 00 00 00 b.......p...........@...@.......
1240 81 c3 00 00 06 00 00 00 89 c3 00 00 fa 00 00 00 90 c3 00 00 50 00 00 00 8b c4 00 00 34 00 00 00 ....................P.......4...
1260 dc c4 00 00 a5 00 00 00 11 c5 00 00 12 00 00 00 b7 c5 00 00 81 00 00 00 ca c5 00 00 15 00 00 00 ................................
1280 4c c6 00 00 07 00 00 00 62 c6 00 00 16 00 00 00 6a c6 00 00 06 00 00 00 81 c6 00 00 0e 00 00 00 L.......b.......j...............
12a0 88 c6 00 00 4a 00 00 00 97 c6 00 00 12 00 00 00 e2 c6 00 00 1d 00 00 00 f5 c6 00 00 11 00 00 00 ....J...........................
12c0 13 c7 00 00 2b 00 00 00 25 c7 00 00 2d 00 00 00 51 c7 00 00 2f 00 00 00 7f c7 00 00 18 00 00 00 ....+...%...-...Q.../...........
12e0 af c7 00 00 28 00 00 00 c8 c7 00 00 1e 00 00 00 f1 c7 00 00 06 00 00 00 10 c8 00 00 93 01 00 00 ....(...........................
1300 17 c8 00 00 0a 00 00 00 ab c9 00 00 70 00 00 00 b6 c9 00 00 0c 00 00 00 27 ca 00 00 0d 00 00 00 ............p...........'.......
1320 34 ca 00 00 0b 00 00 00 42 ca 00 00 15 00 00 00 4e ca 00 00 1a 00 00 00 64 ca 00 00 18 00 00 00 4.......B.......N.......d.......
1340 7f ca 00 00 1d 00 00 00 98 ca 00 00 04 00 00 00 b6 ca 00 00 1a 00 00 00 bb ca 00 00 27 00 00 00 ............................'...
1360 d6 ca 00 00 8c 00 00 00 fe ca 00 00 15 00 00 00 8b cb 00 00 c9 00 00 00 a1 cb 00 00 0b 00 00 00 ................................
1380 6b cc 00 00 62 00 00 00 77 cc 00 00 61 00 00 00 da cc 00 00 1d 00 00 00 3c cd 00 00 1f 00 00 00 k...b...w...a...........<.......
13a0 5a cd 00 00 21 00 00 00 7a cd 00 00 05 00 00 00 9c cd 00 00 33 00 00 00 a2 cd 00 00 81 00 00 00 Z...!...z...........3...........
13c0 d6 cd 00 00 17 00 00 00 58 ce 00 00 12 00 00 00 70 ce 00 00 1a 00 00 00 83 ce 00 00 22 00 00 00 ........X.......p..........."...
13e0 9e ce 00 00 24 00 00 00 c1 ce 00 00 26 00 00 00 e6 ce 00 00 1b 00 00 00 0d cf 00 00 23 00 00 00 ....$.......&...............#...
1400 29 cf 00 00 25 00 00 00 4d cf 00 00 27 00 00 00 73 cf 00 00 35 00 00 00 9b cf 00 00 19 00 00 00 )...%...M...'...s...5...........
1420 d1 cf 00 00 09 00 00 00 eb cf 00 00 8d 00 00 00 f5 cf 00 00 12 00 00 00 83 d0 00 00 18 01 00 00 ................................
1440 96 d0 00 00 7d 00 00 00 af d1 00 00 80 00 00 00 2d d2 00 00 45 00 00 00 ae d2 00 00 35 00 00 00 ....}...........-...E.......5...
1460 f4 d2 00 00 2f 00 00 00 2a d3 00 00 d2 00 00 00 5a d3 00 00 84 00 00 00 2d d4 00 00 48 00 00 00 ..../...*.......Z.......-...H...
1480 b2 d4 00 00 21 00 00 00 fb d4 00 00 61 00 00 00 1d d5 00 00 41 00 00 00 7f d5 00 00 70 00 00 00 ....!.......a.......A.......p...
14a0 c1 d5 00 00 54 00 00 00 32 d6 00 00 bc 00 00 00 87 d6 00 00 85 00 00 00 44 d7 00 00 e7 00 00 00 ....T...2...............D.......
14c0 ca d7 00 00 2a 00 00 00 b2 d8 00 00 3b 00 00 00 dd d8 00 00 93 00 00 00 19 d9 00 00 1d 00 00 00 ....*.......;...................
14e0 ad d9 00 00 37 00 00 00 cb d9 00 00 8b 00 00 00 03 da 00 00 49 00 00 00 8f da 00 00 48 00 00 00 ....7...............I.......H...
1500 d9 da 00 00 90 00 00 00 22 db 00 00 31 00 00 00 b3 db 00 00 7f 00 00 00 e5 db 00 00 47 00 00 00 ........"...1...............G...
1520 65 dc 00 00 36 00 00 00 ad dc 00 00 0f 00 00 00 e4 dc 00 00 2c 00 00 00 f4 dc 00 00 95 00 00 00 e...6...............,...........
1540 21 dd 00 00 09 00 00 00 b7 dd 00 00 ae 00 00 00 c1 dd 00 00 ac 00 00 00 70 de 00 00 18 00 00 00 !.......................p.......
1560 1d df 00 00 0c 00 00 00 36 df 00 00 0c 00 00 00 43 df 00 00 2a 00 00 00 50 df 00 00 39 00 00 00 ........6.......C...*...P...9...
1580 7b df 00 00 25 00 00 00 b5 df 00 00 07 00 00 00 db df 00 00 08 00 00 00 e3 df 00 00 0f 00 00 00 {...%...........................
15a0 ec df 00 00 0e 00 00 00 fc df 00 00 18 00 00 00 0b e0 00 00 0f 00 00 00 24 e0 00 00 3a 00 00 00 ........................$...:...
15c0 34 e0 00 00 48 00 00 00 6f e0 00 00 2b 00 00 00 b8 e0 00 00 64 00 00 00 e4 e0 00 00 5c 00 00 00 4...H...o...+.......d.......\...
15e0 49 e1 00 00 6d 00 00 00 a6 e1 00 00 66 01 00 00 14 e2 00 00 6b 01 00 00 7b e3 00 00 64 00 00 00 I...m.......f.......k...{...d...
1600 e7 e4 00 00 32 00 00 00 4c e5 00 00 5b 00 00 00 7f e5 00 00 ed 01 00 00 db e5 00 00 31 00 00 00 ....2...L...[...............1...
1620 c9 e7 00 00 0e 01 00 00 fb e7 00 00 0c 00 00 00 0a e9 00 00 48 00 00 00 17 e9 00 00 cd 00 00 00 ....................H...........
1640 60 e9 00 00 cf 00 00 00 2e ea 00 00 8a 00 00 00 fe ea 00 00 ce 00 00 00 89 eb 00 00 a2 00 00 00 `...............................
1660 58 ec 00 00 5d 00 00 00 fb ec 00 00 4d 00 00 00 59 ed 00 00 4e 00 00 00 a7 ed 00 00 21 00 00 00 X...].......M...Y...N.......!...
1680 f6 ed 00 00 21 00 00 00 18 ee 00 00 59 00 00 00 3a ee 00 00 1b 00 00 00 94 ee 00 00 75 00 00 00 ....!.......Y...:...........u...
16a0 b0 ee 00 00 18 00 00 00 26 ef 00 00 b5 00 00 00 3f ef 00 00 44 00 00 00 f5 ef 00 00 15 01 00 00 ........&.......?...D...........
16c0 3a f0 00 00 bb 00 00 00 50 f1 00 00 83 00 00 00 0c f2 00 00 ab 00 00 00 90 f2 00 00 0c 00 00 00 :.......P.......................
16e0 3c f3 00 00 03 00 00 00 49 f3 00 00 0b 00 00 00 4d f3 00 00 18 00 00 00 59 f3 00 00 d3 00 00 00 <.......I.......M.......Y.......
1700 72 f3 00 00 0c 00 00 00 46 f4 00 00 39 00 00 00 53 f4 00 00 0e 00 00 00 8d f4 00 00 05 00 00 00 r.......F...9...S...............
1720 9c f4 00 00 3c 00 00 00 a2 f4 00 00 56 00 00 00 df f4 00 00 0c 00 00 00 36 f5 00 00 07 00 00 00 ....<.......V...........6.......
1740 43 f5 00 00 08 00 00 00 4b f5 00 00 09 00 00 00 54 f5 00 00 28 00 00 00 5e f5 00 00 06 00 00 00 C.......K.......T...(...^.......
1760 87 f5 00 00 c6 00 00 00 8e f5 00 00 45 00 00 00 55 f6 00 00 0f 00 00 00 9b f6 00 00 10 00 00 00 ............E...U...............
1780 ab f6 00 00 07 00 00 00 bc f6 00 00 07 00 00 00 c4 f6 00 00 06 00 00 00 cc f6 00 00 0c 00 00 00 ................................
17a0 d3 f6 00 00 0b 00 00 00 e0 f6 00 00 1b 00 00 00 ec f6 00 00 07 00 00 00 08 f7 00 00 01 00 00 00 ................................
17c0 4f 01 00 00 b0 00 00 00 00 00 00 00 23 01 00 00 6e 01 00 00 2c 01 00 00 05 01 00 00 6b 01 00 00 O...........#...n...,.......k...
17e0 b7 00 00 00 65 01 00 00 cb 00 00 00 3e 01 00 00 00 00 00 00 00 00 00 00 9a 00 00 00 9c 00 00 00 ....e.......>...................
1800 54 00 00 00 2a 00 00 00 f2 00 00 00 dd 00 00 00 d2 00 00 00 3f 00 00 00 b8 00 00 00 c5 00 00 00 T...*...............?...........
1820 00 00 00 00 7c 00 00 00 32 00 00 00 4e 01 00 00 44 01 00 00 7b 00 00 00 00 00 00 00 00 00 00 00 ....|...2...N...D...{...........
1840 da 00 00 00 33 01 00 00 45 01 00 00 6a 00 00 00 ac 00 00 00 1f 01 00 00 00 00 00 00 52 01 00 00 ....3...E...j...............R...
1860 db 00 00 00 f4 00 00 00 ee 00 00 00 5b 01 00 00 76 01 00 00 04 00 00 00 00 00 00 00 21 00 00 00 ............[...v...........!...
1880 00 00 00 00 0d 01 00 00 04 01 00 00 9d 00 00 00 00 00 00 00 00 00 00 00 ca 00 00 00 c8 00 00 00 ................................
18a0 4c 00 00 00 00 00 00 00 00 00 00 00 72 00 00 00 82 00 00 00 00 00 00 00 17 00 00 00 79 00 00 00 L...........r...............y...
18c0 53 00 00 00 8c 00 00 00 e5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4d 00 00 00 3e 00 00 00 S.......................M...>...
18e0 00 00 00 00 2e 00 00 00 27 01 00 00 1e 00 00 00 5f 00 00 00 b3 00 00 00 91 00 00 00 00 00 00 00 ........'......._...............
1900 93 00 00 00 80 00 00 00 a3 00 00 00 ec 00 00 00 14 01 00 00 00 00 00 00 d0 00 00 00 00 00 00 00 ................................
1920 7e 00 00 00 df 00 00 00 dc 00 00 00 00 00 00 00 02 01 00 00 0c 01 00 00 3b 01 00 00 00 00 00 00 ~.......................;.......
1940 00 00 00 00 00 00 00 00 14 00 00 00 00 00 00 00 5a 00 00 00 ba 00 00 00 12 00 00 00 d4 00 00 00 ................Z...............
1960 00 00 00 00 61 00 00 00 7d 00 00 00 8a 00 00 00 3c 00 00 00 66 00 00 00 00 00 00 00 70 01 00 00 ....a...}.......<...f.......p...
1980 35 00 00 00 b2 00 00 00 73 01 00 00 00 00 00 00 00 00 00 00 57 00 00 00 a4 00 00 00 9e 00 00 00 5.......s...........W...........
19a0 00 00 00 00 00 00 00 00 58 00 00 00 90 00 00 00 10 00 00 00 43 00 00 00 26 01 00 00 fe 00 00 00 ........X...........C...&.......
19c0 4d 01 00 00 00 00 00 00 00 00 00 00 54 01 00 00 15 00 00 00 6b 00 00 00 77 00 00 00 20 00 00 00 M...........T.......k...w.......
19e0 00 00 00 00 2d 01 00 00 00 00 00 00 5b 00 00 00 4a 00 00 00 00 00 00 00 00 00 00 00 92 00 00 00 ....-.......[...J...............
1a00 e6 00 00 00 60 00 00 00 30 00 00 00 00 00 00 00 cd 00 00 00 00 00 00 00 1a 01 00 00 3a 00 00 00 ....`...0...................:...
1a20 00 00 00 00 00 00 00 00 de 00 00 00 00 00 00 00 b1 00 00 00 49 00 00 00 00 00 00 00 00 00 00 00 ....................I...........
1a40 e0 00 00 00 50 01 00 00 00 00 00 00 ed 00 00 00 00 00 00 00 00 00 00 00 94 00 00 00 23 00 00 00 ....P.......................#...
1a60 16 00 00 00 32 01 00 00 fd 00 00 00 5d 00 00 00 5d 01 00 00 6f 01 00 00 07 00 00 00 bf 00 00 00 ....2.......]...]...o...........
1a80 2e 01 00 00 00 00 00 00 68 01 00 00 00 00 00 00 e1 00 00 00 05 00 00 00 5c 00 00 00 15 01 00 00 ........h...............\.......
1aa0 0e 01 00 00 4b 00 00 00 64 00 00 00 00 00 00 00 c4 00 00 00 35 01 00 00 71 00 00 00 4a 01 00 00 ....K...d...........5...q...J...
1ac0 5a 01 00 00 d5 00 00 00 84 00 00 00 e4 00 00 00 f1 00 00 00 6a 01 00 00 13 01 00 00 60 01 00 00 Z...................j.......`...
1ae0 56 00 00 00 67 01 00 00 00 00 00 00 00 00 00 00 bc 00 00 00 55 00 00 00 2f 01 00 00 00 00 00 00 V...g...............U.../.......
1b00 37 00 00 00 f9 00 00 00 11 00 00 00 62 00 00 00 00 00 00 00 22 01 00 00 c7 00 00 00 d8 00 00 00 7...........b......."...........
1b20 00 00 00 00 06 00 00 00 c9 00 00 00 28 01 00 00 55 01 00 00 34 01 00 00 37 01 00 00 40 01 00 00 ............(...U...4...7...@...
1b40 a8 00 00 00 2b 00 00 00 00 00 00 00 79 01 00 00 1c 01 00 00 00 00 00 00 f8 00 00 00 be 00 00 00 ....+.......y...................
1b60 d9 00 00 00 4b 01 00 00 d3 00 00 00 00 00 00 00 4f 00 00 00 af 00 00 00 1b 00 00 00 25 00 00 00 ....K...........O...........%...
1b80 0a 00 00 00 00 00 00 00 00 00 00 00 6c 01 00 00 cc 00 00 00 34 00 00 00 a7 00 00 00 00 00 00 00 ............l.......4...........
1ba0 76 00 00 00 25 01 00 00 88 00 00 00 fb 00 00 00 ae 00 00 00 00 00 00 00 39 00 00 00 00 00 00 00 v...%...................9.......
1bc0 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 89 00 00 00 f3 00 00 00 00 00 00 00 75 00 00 00 ............................u...
1be0 78 01 00 00 00 00 00 00 9f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1c 00 00 00 06 01 00 00 x...............................
1c00 ce 00 00 00 00 00 00 00 49 01 00 00 0a 01 00 00 a6 00 00 00 16 01 00 00 9b 00 00 00 0c 00 00 00 ........I.......................
1c20 00 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 d6 00 00 00 c0 00 00 00 f0 00 00 00 00 01 00 00 ................................
1c40 50 00 00 00 00 00 00 00 00 00 00 00 27 00 00 00 00 00 00 00 00 00 00 00 0f 00 00 00 00 00 00 00 P...........'...................
1c60 00 00 00 00 03 01 00 00 20 01 00 00 52 00 00 00 ff 00 00 00 73 00 00 00 8e 00 00 00 00 00 00 00 ............R.......s...........
1c80 00 00 00 00 b6 00 00 00 19 01 00 00 4e 00 00 00 58 01 00 00 59 01 00 00 2c 00 00 00 6c 00 00 00 ............N...X...Y...,...l...
1ca0 00 00 00 00 39 01 00 00 72 01 00 00 98 00 00 00 e2 00 00 00 6d 00 00 00 00 00 00 00 5e 00 00 00 ....9...r...........m.......^...
1cc0 c2 00 00 00 00 00 00 00 00 00 00 00 3f 01 00 00 33 00 00 00 a2 00 00 00 3d 00 00 00 8b 00 00 00 ............?...3.......=.......
1ce0 31 01 00 00 29 00 00 00 64 01 00 00 74 00 00 00 00 00 00 00 7a 00 00 00 e7 00 00 00 00 00 00 00 1...)...d...t.......z...........
1d00 3d 01 00 00 00 00 00 00 1a 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00 48 01 00 00 00 00 00 00 =.......................H.......
1d20 00 00 00 00 63 01 00 00 b4 00 00 00 3b 00 00 00 ea 00 00 00 45 00 00 00 08 01 00 00 36 00 00 00 ....c.......;.......E.......6...
1d40 61 01 00 00 02 00 00 00 1d 01 00 00 41 00 00 00 00 00 00 00 00 00 00 00 2d 00 00 00 87 00 00 00 a...........A...........-.......
1d60 b9 00 00 00 43 01 00 00 c6 00 00 00 f5 00 00 00 00 00 00 00 83 00 00 00 2f 00 00 00 eb 00 00 00 ....C.................../.......
1d80 a9 00 00 00 bb 00 00 00 00 00 00 00 ad 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22 00 00 00 ............................"...
1da0 07 01 00 00 00 00 00 00 81 00 00 00 09 01 00 00 ef 00 00 00 67 00 00 00 53 01 00 00 a0 00 00 00 ....................g...S.......
1dc0 70 00 00 00 00 00 00 00 19 00 00 00 00 00 00 00 75 01 00 00 aa 00 00 00 b5 00 00 00 00 00 00 00 p...............u...............
1de0 44 00 00 00 a5 00 00 00 8f 00 00 00 42 01 00 00 8d 00 00 00 97 00 00 00 00 00 00 00 6e 00 00 00 D...........B...............n...
1e00 fc 00 00 00 40 00 00 00 31 00 00 00 74 01 00 00 6f 00 00 00 96 00 00 00 2b 01 00 00 47 01 00 00 ....@...1...t...o.......+...G...
1e20 00 00 00 00 7f 00 00 00 11 01 00 00 d1 00 00 00 65 00 00 00 77 01 00 00 57 01 00 00 1b 01 00 00 ................e...w...W.......
1e40 a1 00 00 00 f7 00 00 00 c1 00 00 00 86 00 00 00 46 01 00 00 00 00 00 00 99 00 00 00 1d 00 00 00 ................F...............
1e60 38 01 00 00 5f 01 00 00 00 00 00 00 29 01 00 00 00 00 00 00 68 00 00 00 5c 01 00 00 5e 01 00 00 8..._.......).......h...\...^...
1e80 00 00 00 00 21 01 00 00 28 00 00 00 e8 00 00 00 46 00 00 00 26 00 00 00 00 00 00 00 24 00 00 00 ....!...(.......F...&.......$...
1ea0 cf 00 00 00 6d 01 00 00 59 00 00 00 00 00 00 00 00 00 00 00 95 00 00 00 ab 00 00 00 00 00 00 00 ....m...Y.......................
1ec0 69 00 00 00 00 00 00 00 24 01 00 00 f6 00 00 00 00 00 00 00 00 00 00 00 85 00 00 00 36 01 00 00 i.......$...................6...
1ee0 3a 01 00 00 13 00 00 00 00 00 00 00 00 00 00 00 d7 00 00 00 08 00 00 00 18 00 00 00 10 01 00 00 :...............................
1f00 bd 00 00 00 0e 00 00 00 17 01 00 00 e9 00 00 00 c3 00 00 00 42 00 00 00 0f 01 00 00 03 00 00 00 ....................B...........
1f20 51 00 00 00 1f 00 00 00 fa 00 00 00 00 00 00 00 0b 01 00 00 71 01 00 00 7a 01 00 00 38 00 00 00 Q...................q...z...8...
1f40 00 00 00 00 18 01 00 00 00 00 00 00 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 78 00 00 00 ............c...............x...
1f60 4c 01 00 00 3c 01 00 00 66 01 00 00 41 01 00 00 00 00 00 00 62 01 00 00 e3 00 00 00 56 01 00 00 L...<...f...A.......b.......V...
1f80 12 01 00 00 47 00 00 00 30 01 00 00 01 01 00 00 1e 01 00 00 00 00 00 00 51 01 00 00 69 01 00 00 ....G...0...............Q...i...
1fa0 00 00 00 00 48 00 00 00 2a 01 00 00 00 00 00 00 00 23 20 20 20 74 65 72 72 61 66 6f 72 6d 41 5a ....H...*........#...terraformAZ
1fc0 20 23 20 20 20 74 65 72 72 61 66 6f 72 6d 76 53 70 68 65 72 65 20 23 20 20 20 74 65 72 72 61 66 .#...terraformvSphere.#...terraf
1fe0 6f 72 6d 47 6f 6f 67 6c 65 00 23 61 7a 20 6c 6f 67 69 6e 00 23 63 64 20 2f 79 6f 75 72 20 66 6f ormGoogle.#az.login.#cd./your.fo
2000 6c 64 65 72 00 23 74 65 72 72 61 66 6f 72 6d 20 61 70 70 6c 79 00 23 74 65 72 72 61 66 6f 72 6d lder.#terraform.apply.#terraform
2020 20 69 6e 69 74 00 23 74 65 72 72 61 66 6f 72 6d 20 70 6c 61 6e 00 23 79 65 73 00 2a 2a 4e 4f 54 .init.#terraform.plan.#yes.**NOT
2040 45 2a 2a 3a 20 62 65 20 63 61 72 65 66 75 6c 20 77 68 69 6c 65 20 63 6f 70 79 69 6e 67 20 61 6e E**:.be.careful.while.copying.an
2060 64 20 70 61 73 74 69 6e 67 20 70 72 65 76 69 6f 75 73 20 63 6f 6d 6d 61 6e 64 73 2e 20 44 6f 75 d.pasting.previous.commands..Dou
2080 62 6c 65 20 71 75 6f 74 65 73 20 6d 61 79 20 6e 65 65 64 20 74 6f 20 62 65 20 63 6f 72 72 65 63 ble.quotes.may.need.to.be.correc
20a0 74 65 64 2e 00 2a 2a 4e 4f 54 45 2a 2a 3a 20 62 65 20 63 61 72 65 66 75 6c 6c 20 77 68 69 6c 65 ted..**NOTE**:.be.carefull.while
20c0 20 63 6f 70 79 69 6e 67 20 61 6e 64 20 70 61 73 74 69 6e 67 20 70 72 65 76 69 6f 75 73 20 63 6f .copying.and.pasting.previous.co
20e0 6d 6d 61 6e 64 73 2e 20 44 6f 62 6c 65 20 71 75 6f 74 65 73 20 6d 61 79 20 6e 65 65 64 20 74 6f mmands..Doble.quotes.may.need.to
2100 20 62 65 20 63 6f 72 72 65 63 74 65 64 2e 00 2a 2a 6d 65 74 61 2d 64 61 74 61 2a 2a 3a 20 65 6d .be.corrected..**meta-data**:.em
2120 70 74 79 20 66 69 6c 65 20 28 72 65 71 75 69 72 65 64 29 2e 00 2a 2a 6e 65 74 77 6f 72 6b 2d 63 pty.file.(required)..**network-c
2140 6f 6e 66 69 67 2a 2a 20 66 69 6c 65 20 6f 6e 6c 79 20 68 61 73 20 63 6f 6e 66 69 67 75 72 61 74 onfig**.file.only.has.configurat
2160 69 6f 6e 20 74 68 61 74 20 64 69 73 61 62 6c 65 73 20 74 68 65 20 61 75 74 6f 6d 61 74 69 63 20 ion.that.disables.the.automatic.
2180 64 68 63 70 20 63 6c 69 65 6e 74 20 6f 6e 20 66 69 72 73 74 20 69 6e 74 65 72 66 61 63 65 2e 00 dhcp.client.on.first.interface..
21a0 2a 2a 6e 65 74 77 6f 72 6b 2d 63 6f 6e 66 69 67 2a 2a 3a 20 66 69 6c 65 20 74 68 61 74 20 77 69 **network-config**:.file.that.wi
21c0 6c 6c 20 69 6e 64 69 63 61 74 65 20 74 6f 20 61 76 6f 69 64 20 64 68 63 70 20 63 6c 69 65 6e 74 ll.indicate.to.avoid.dhcp.client
21e0 20 6f 6e 20 66 69 72 73 74 20 69 6e 74 65 72 66 61 63 65 2e 00 2a 2a 75 73 65 72 2d 64 61 74 61 .on.first.interface..**user-data
2200 2a 2a 20 66 69 6c 65 20 6d 75 73 74 20 73 74 61 72 74 20 77 69 74 68 20 60 60 23 63 6c 6f 75 64 **.file.must.start.with.``#cloud
2220 2d 63 6f 6e 66 69 67 60 60 20 61 6e 64 20 63 6f 6e 74 61 69 6e 73 20 76 79 6f 73 2d 63 6f 6d 6d -config``.and.contains.vyos-comm
2240 61 6e 64 73 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 3a 00 2a 2a 75 73 65 72 2d 64 61 74 61 2a 2a ands..For.example:.**user-data**
2260 3a 20 69 6e 63 6c 75 64 65 73 20 76 79 6f 73 2d 63 6f 6d 6d 61 6e 64 73 2e 00 2f 63 6f 6e 66 69 :.includes.vyos-commands../confi
2280 67 2d 66 69 6c 65 00 2f 63 6f 6e 66 69 67 75 72 65 00 2f 67 65 6e 65 72 61 74 65 00 2f 69 6d 61 g-file./configure./generate./ima
22a0 67 65 00 2f 70 6f 77 65 72 6f 66 66 00 2f 72 65 62 6f 6f 74 00 2f 72 65 73 65 74 00 2f 72 65 74 ge./poweroff./reboot./reset./ret
22c0 72 69 65 76 65 00 2f 73 68 6f 77 00 31 20 41 6e 73 69 62 6c 65 20 64 6f 65 73 6e 27 74 20 63 6f rieve./show.1.Ansible.doesn't.co
22e0 6e 6e 65 63 74 20 76 69 61 20 53 53 48 20 74 6f 20 79 6f 75 72 20 41 57 53 20 69 6e 73 74 61 6e nnect.via.SSH.to.your.AWS.instan
2300 63 65 3a 20 79 6f 75 20 68 61 76 65 20 74 6f 20 63 68 65 63 6b 20 74 68 61 74 20 79 6f 75 72 20 ce:.you.have.to.check.that.your.
2320 53 53 48 20 6b 65 79 20 68 61 73 20 63 6f 70 69 65 64 20 69 6e 74 6f 20 74 68 65 20 70 61 74 68 SSH.key.has.copied.into.the.path
2340 20 2f 72 6f 6f 74 2f 61 77 73 2f 2e 00 31 20 43 6f 6c 6c 65 63 74 20 61 6c 6c 20 64 61 74 61 20 ./root/aws/..1.Collect.all.data.
2360 69 6e 20 74 6f 20 66 69 6c 65 20 22 74 65 72 72 61 66 6f 72 6d 2e 74 66 76 61 72 73 22 20 61 6e in.to.file."terraform.tfvars".an
2380 64 20 63 72 65 61 74 65 20 72 65 73 6f 75 72 63 65 73 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 22 d.create.resources.for.example."
23a0 74 65 72 72 61 66 6f 72 6d 22 00 31 20 43 72 65 61 74 65 20 61 6e 20 55 4e 49 58 20 69 6e 73 74 terraform".1.Create.an.UNIX.inst
23c0 61 6e 63 65 20 77 68 65 6e 65 76 65 72 20 79 6f 75 20 77 61 6e 74 20 28 6c 6f 63 61 6c 2c 20 63 ance.whenever.you.want.(local,.c
23e0 6c 6f 75 64 2c 20 61 6e 64 20 73 6f 20 6f 6e 29 00 31 20 43 72 65 61 74 65 20 61 6e 20 55 4e 49 loud,.and.so.on).1.Create.an.UNI
2400 58 20 6f 72 20 57 69 6e 64 6f 77 73 20 69 6e 73 74 61 6e 63 65 00 31 20 43 72 65 61 74 65 20 61 X.or.Windows.instance.1.Create.a
2420 6e 20 61 63 63 6f 75 6e 74 20 77 69 74 68 20 41 57 53 20 61 6e 64 20 67 65 74 20 79 6f 75 72 20 n.account.with.AWS.and.get.your.
2440 22 61 63 63 65 73 73 5f 6b 65 79 22 2c 20 22 73 65 63 72 65 74 20 6b 65 79 22 00 31 20 43 72 65 "access_key",."secret.key".1.Cre
2460 61 74 65 20 61 6e 20 61 63 63 6f 75 6e 74 20 77 69 74 68 20 41 7a 75 72 65 00 31 2e 20 41 6e 73 ate.an.account.with.Azure.1..Ans
2480 69 62 6c 65 20 64 6f 65 73 6e 27 74 20 63 6f 6e 6e 65 63 74 20 76 69 61 20 53 53 48 20 74 6f 20 ible.doesn't.connect.via.SSH.to.
24a0 79 6f 75 72 20 41 57 53 20 69 6e 73 74 61 6e 63 65 3a 20 79 6f 75 20 68 61 76 65 20 74 6f 20 63 your.AWS.instance:.you.have.to.c
24c0 68 65 63 6b 20 74 68 61 74 20 79 6f 75 72 20 53 53 48 20 6b 65 79 20 68 61 73 20 63 6f 70 69 65 heck.that.your.SSH.key.has.copie
24e0 64 20 69 6e 74 6f 20 74 68 65 20 70 61 74 68 20 2f 72 6f 6f 74 2f 61 77 73 2f 2e 20 41 6c 73 6f d.into.the.path./root/aws/..Also
2500 2c 20 69 6e 63 72 65 61 73 65 20 74 68 65 20 74 69 6d 65 20 69 6e 20 74 68 65 20 66 69 6c 65 20 ,.increase.the.time.in.the.file.
2520 69 6e 73 74 61 6e 63 65 2e 79 6d 6c 20 66 72 6f 6d 20 33 30 30 20 73 65 63 20 74 6f 20 35 30 30 instance.yml.from.300.sec.to.500
2540 20 73 65 63 20 6f 72 20 6d 6f 72 65 2e 20 28 49 74 20 64 65 70 65 6e 64 73 20 6f 6e 20 79 6f 75 .sec.or.more..(It.depends.on.you
2560 72 20 6c 6f 63 61 74 69 6f 6e 29 2e 20 4d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 79 6f 75 20 r.location)..Make.sure.that.you.
2580 68 61 76 65 20 6f 70 65 6e 65 64 20 61 63 63 65 73 73 20 74 6f 20 74 68 65 20 69 6e 73 74 61 6e have.opened.access.to.the.instan
25a0 63 65 20 69 6e 20 74 68 65 20 73 65 63 75 72 69 74 79 20 67 72 6f 75 70 2e 00 31 2e 31 20 43 6f ce.in.the.security.group..1.1.Co
25c0 6c 6c 65 63 74 20 61 6c 6c 20 64 61 74 61 20 69 6e 20 74 6f 20 66 69 6c 65 20 22 74 65 72 72 61 llect.all.data.in.to.file."terra
25e0 66 6f 72 6d 2e 74 66 76 61 72 73 22 20 61 6e 64 20 63 72 65 61 74 65 20 72 65 73 6f 75 72 63 65 form.tfvars".and.create.resource
2600 73 20 66 6f 20 65 78 61 6d 70 6c 65 20 22 74 65 72 72 61 66 6f 72 6d 22 00 31 2e 31 20 43 72 65 s.fo.example."terraform".1.1.Cre
2620 61 74 65 20 61 6e 20 61 63 63 6f 75 6e 74 20 77 69 74 68 20 41 57 53 20 61 6e 64 20 67 65 74 20 ate.an.account.with.AWS.and.get.
2640 79 6f 75 72 20 22 61 63 63 65 73 73 5f 6b 65 79 22 2c 20 22 73 65 63 72 65 74 20 6b 65 79 22 00 your."access_key",."secret.key".
2660 31 2e 31 20 43 72 65 61 74 65 20 61 6e 20 61 63 63 6f 75 6e 74 20 77 69 74 68 20 41 7a 75 72 65 1.1.Create.an.account.with.Azure
2680 00 31 2e 32 20 43 72 65 61 74 65 20 61 20 6b 65 79 20 70 61 69 72 20 61 6e 64 20 64 6f 77 6e 6c .1.2.Create.a.key.pair.and.downl
26a0 6f 61 64 20 79 6f 75 72 20 2e 70 65 6d 20 6b 65 79 00 31 2e 32 20 43 72 65 61 74 65 20 61 20 6b oad.your..pem.key.1.2.Create.a.k
26c0 65 79 20 70 61 69 72 5f 20 61 6e 64 20 64 6f 77 6e 6c 6f 61 64 20 79 6f 75 72 20 2e 70 65 6d 20 ey.pair_.and.download.your..pem.
26e0 6b 65 79 00 31 2e 33 20 43 72 65 61 74 65 20 61 20 73 65 63 75 72 69 74 79 20 67 72 6f 75 70 20 key.1.3.Create.a.security.group.
2700 66 6f 72 20 74 68 65 20 6e 65 77 20 56 79 4f 53 20 69 6e 73 74 61 6e 63 65 00 31 2e 33 20 43 72 for.the.new.VyOS.instance.1.3.Cr
2720 65 61 74 65 20 61 20 73 65 63 75 72 69 74 79 20 67 72 6f 75 70 5f 20 66 6f 72 20 74 68 65 20 6e eate.a.security.group_.for.the.n
2740 65 77 20 56 79 4f 53 20 69 6e 73 74 61 6e 63 65 20 61 6e 64 20 6f 70 65 6e 20 61 6c 6c 20 74 72 ew.VyOS.instance.and.open.all.tr
2760 61 66 66 69 63 00 32 20 43 72 65 61 74 65 20 61 20 6b 65 79 20 70 61 69 72 5f 20 61 6e 64 20 64 affic.2.Create.a.key.pair_.and.d
2780 6f 77 6e 6c 6f 61 64 20 79 6f 75 72 20 2e 70 65 6d 20 6b 65 79 00 32 20 44 6f 77 6e 6c 6f 61 64 ownload.your..pem.key.2.Download
27a0 20 61 6e 64 20 69 6e 73 74 61 6c 6c 20 41 6e 73 69 62 6c 65 00 32 20 44 6f 77 6e 6c 6f 61 64 20 .and.install.Ansible.2.Download.
27c0 61 6e 64 20 69 6e 73 74 61 6c 6c 20 54 65 72 72 61 66 6f 72 6d 00 32 20 54 65 72 72 61 66 6f 72 and.install.Terraform.2.Terrafor
27e0 6d 20 64 6f 65 73 6e 27 74 20 63 6f 6e 6e 65 63 74 20 76 69 61 20 53 53 48 20 74 6f 20 79 6f 75 m.doesn't.connect.via.SSH.to.you
2800 72 20 41 6e 73 69 62 6c 65 20 69 6e 73 74 61 6e 63 65 3a 20 79 6f 75 20 68 61 76 65 20 74 6f 20 r.Ansible.instance:.you.have.to.
2820 63 68 65 63 6b 20 74 68 65 20 63 6f 72 72 65 63 74 20 6c 6f 67 69 6e 20 61 6e 64 20 70 61 73 73 check.the.correct.login.and.pass
2840 77 6f 72 64 20 69 6e 20 74 68 65 20 70 61 72 74 20 6f 66 20 74 68 65 20 66 69 6c 65 20 56 79 4f word.in.the.part.of.the.file.VyO
2860 53 2e 20 74 66 00 32 2e 31 20 43 72 65 61 74 65 20 61 20 55 4e 49 58 20 6f 72 20 57 69 6e 64 6f S..tf.2.1.Create.a.UNIX.or.Windo
2880 77 73 20 69 6e 73 74 61 6e 63 65 00 32 2e 31 20 43 72 65 61 74 65 20 61 30 20 55 4e 49 58 20 6f ws.instance.2.1.Create.a0.UNIX.o
28a0 72 20 57 69 6e 64 6f 77 73 20 69 6e 73 74 61 6e 63 65 00 32 2e 32 20 44 6f 77 6e 6c 6f 61 64 20 r.Windows.instance.2.2.Download.
28c0 61 6e 64 20 69 6e 73 74 61 6c 6c 20 54 65 72 72 61 66 6f 72 6d 00 32 2e 33 20 43 72 65 61 74 65 and.install.Terraform.2.3.Create
28e0 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2e 2e 2f 61 77 73 76 79 .the.folder.for.example.../awsvy
2900 6f 73 2f 00 32 2e 33 20 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 os/.2.3.Create.the.folder.for.ex
2920 61 6d 70 6c 65 20 2e 2e 2f 61 7a 76 79 6f 73 2f 00 32 2e 33 20 43 72 65 61 74 65 20 74 68 65 20 ample.../azvyos/.2.3.Create.the.
2940 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2e 2e 2f 76 73 70 68 65 72 65 2f 00 32 folder.for.example.../vsphere/.2
2960 2e 33 20 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 .3.Create.the.folder.for.example
2980 20 2f 72 6f 6f 74 2f 61 77 73 74 65 72 72 61 66 6f 72 6d 00 32 2e 34 20 43 6f 70 79 20 61 6c 6c ./root/awsterraform.2.4.Copy.all
29a0 20 66 69 6c 65 73 20 66 72 6f 6d 20 6d 79 20 66 6f 6c 64 65 72 20 2f 54 65 72 72 61 66 6f 72 6d .files.from.my.folder./Terraform
29c0 20 69 6e 74 6f 20 79 6f 75 72 20 54 65 72 72 61 66 6f 72 6d 20 70 72 6f 6a 65 63 74 00 32 2e 34 .into.your.Terraform.project.2.4
29e0 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 66 72 6f 6d 20 6d 79 20 66 6f 6c 64 65 72 20 2f .Copy.all.files.from.my.folder./
2a00 54 65 72 72 61 66 6f 72 6d 20 69 6e 74 6f 20 79 6f 75 72 20 54 65 72 72 61 66 6f 72 6d 20 70 72 Terraform.into.your.Terraform.pr
2a20 6f 6a 65 63 74 20 28 6d 61 69 6e 2e 74 66 2c 20 76 61 72 69 61 62 6c 65 73 2e 74 66 29 00 32 2e oject.(main.tf,.variables.tf).2.
2a40 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e 74 6f 20 79 6f 75 72 20 54 65 72 72 61 4.Copy.all.files.into.your.Terra
2a60 66 6f 72 6d 20 70 72 6f 6a 65 63 74 20 22 2f 72 6f 6f 74 2f 61 77 73 74 65 72 72 61 66 6f 72 6d form.project."/root/awsterraform
2a80 22 20 28 76 79 6f 73 2e 74 66 2c 20 76 61 72 2e 74 66 2c 20 74 65 72 72 61 66 6f 72 6d 2e 74 66 ".(vyos.tf,.var.tf,.terraform.tf
2aa0 76 61 72 73 2c 76 65 72 73 69 6f 6e 2e 74 66 29 2c 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 vars,version.tf),.more.detailed.
2ac0 73 65 65 20 60 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 54 65 72 72 61 66 6f 6d see.`Structure.of.files.Terrafom
2ae0 20 66 6f 72 20 41 57 53 60 5f 00 32 2e 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e .for.AWS`_.2.4.Copy.all.files.in
2b00 74 6f 20 79 6f 75 72 20 54 65 72 72 61 66 6f 72 6d 20 70 72 6f 6a 65 63 74 20 28 76 79 6f 73 2e to.your.Terraform.project.(vyos.
2b20 74 66 2c 20 76 61 72 2e 74 66 29 20 32 2e 34 2e 31 20 50 6c 65 61 73 65 20 74 79 70 65 20 74 68 tf,.var.tf).2.4.1.Please.type.th
2b40 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 6e 74 6f 20 74 68 65 20 73 74 72 69 6e 67 73 20 32 e.information.into.the.strings.2
2b60 32 2c 20 33 35 2c 20 33 36 20 6f 66 20 66 69 6c 65 20 22 76 79 6f 73 2e 74 66 22 00 32 2e 35 20 2,.35,.36.of.file."vyos.tf".2.5.
2b80 4c 6f 67 69 6e 20 77 69 74 68 20 41 7a 75 72 65 20 20 75 73 69 6e 67 20 74 68 65 20 63 6f 6d 6d Login.with.Azure..using.the.comm
2ba0 61 6e 64 00 32 2e 35 20 54 79 70 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 3a 00 32 2e 36 20 and.2.5.Type.the.commands.:.2.6.
2bc0 54 79 70 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 3a 00 33 20 43 72 65 61 74 65 20 74 68 65 Type.the.commands.:.3.Create.the
2be0 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 2f 61 77 73 2f 00 33 .folder.for.example./root/aws/.3
2c00 20 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f .Create.the.folder.for.example./
2c20 72 6f 6f 74 2f 61 77 73 74 65 72 72 61 66 6f 72 6d 00 33 20 43 72 65 61 74 65 20 74 68 65 20 66 root/awsterraform.3.Create.the.f
2c40 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 2f 61 7a 2f 00 33 20 43 72 older.for.example./root/az/.3.Cr
2c60 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f eate.the.folder.for.example./roo
2c80 74 2f 61 7a 76 79 6f 73 2f 00 33 20 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f t/azvyos/.3.Create.the.folder.fo
2ca0 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 2f 76 73 70 68 65 72 65 74 65 72 72 61 66 6f 72 6d r.example./root/vsphereterraform
2cc0 00 33 20 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 .3.Create.the.folder.for.example
2ce0 20 2f 72 6f 6f 74 2f 76 73 70 68 65 72 65 74 65 72 72 61 66 6f 72 6d 2f 00 33 2e 31 20 43 72 65 ./root/vsphereterraform/.3.1.Cre
2d00 61 74 65 20 61 20 55 4e 49 58 20 69 6e 73 74 61 6e 63 65 00 33 2e 31 20 43 72 65 61 74 65 20 61 ate.a.UNIX.instance.3.1.Create.a
2d20 20 55 4e 49 58 20 69 6e 73 74 61 6e 63 65 20 77 68 65 6e 65 76 65 72 20 79 6f 75 20 77 61 6e 74 .UNIX.instance.whenever.you.want
2d40 20 28 6c 6f 63 61 6c 2c 20 63 6c 6f 75 64 2c 20 61 6e 64 20 73 6f 20 6f 6e 29 00 33 2e 32 20 44 .(local,.cloud,.and.so.on).3.2.D
2d60 6f 77 6e 6c 6f 61 64 20 61 6e 64 20 69 6e 73 74 61 6c 6c 20 41 6e 73 69 62 6c 65 00 33 2e 33 20 ownload.and.install.Ansible.3.3.
2d80 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 Create.the.folder.for.example./r
2da0 6f 6f 74 2f 61 77 73 2f 00 33 2e 33 20 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 oot/aws/.3.3.Create.the.folder.f
2dc0 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 2f 61 7a 2f 00 33 2e 33 20 43 72 65 61 74 65 20 or.example./root/az/.3.3.Create.
2de0 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 2f 76 73 70 the.folder.for.example./root/vsp
2e00 68 65 72 65 2f 00 33 2e 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 66 72 6f 6d 20 6d 79 here/.3.4.Copy.all.files.from.my
2e20 20 66 6f 6c 64 65 72 20 2f 41 6e 73 69 62 6c 65 20 69 6e 74 6f 20 79 6f 75 72 20 41 6e 73 69 62 .folder./Ansible.into.your.Ansib
2e40 6c 65 20 70 72 6f 6a 65 63 74 20 28 61 6e 73 69 62 6c 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 le.project.(ansible.cfg,.instanc
2e60 65 2e 79 6d 6c 20 61 6e 64 20 2f 67 72 6f 75 70 5f 76 61 72 73 29 00 33 2e 34 20 43 6f 70 79 20 e.yml.and./group_vars).3.4.Copy.
2e80 61 6c 6c 20 66 69 6c 65 73 20 66 72 6f 6d 20 6d 79 20 66 6f 6c 64 65 72 20 2f 41 6e 73 69 62 6c all.files.from.my.folder./Ansibl
2ea0 65 20 69 6e 74 6f 20 79 6f 75 72 20 41 6e 73 69 62 6c 65 20 70 72 6f 6a 65 63 74 20 28 61 6e 73 e.into.your.Ansible.project.(ans
2ec0 69 62 6c 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 65 2e 79 6d 6c 2c 20 6d 79 6b 65 79 2e 70 65 ible.cfg,.instance.yml,.mykey.pe
2ee0 6d 29 00 33 2e 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e 74 6f 20 79 6f 75 72 20 m).3.4.Copy.all.files.into.your.
2f00 41 6e 73 69 62 6c 65 20 70 72 6f 6a 65 63 74 20 22 2f 72 6f 6f 74 2f 61 77 73 2f 22 20 28 61 6e Ansible.project."/root/aws/".(an
2f20 73 69 62 6c 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 65 2e 79 6d 6c 2c 20 6d 79 6b 65 79 2e 70 sible.cfg,.instance.yml,.mykey.p
2f40 65 6d 20 61 6e 64 20 22 61 6c 6c 22 29 2c 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 73 65 65 em.and."all"),.more.detailed.see
2f60 20 60 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 6f 72 .`Structure.of.files.Ansible.for
2f80 20 41 57 53 60 5f 00 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e 74 6f 20 79 6f 75 .AWS`_.4.Copy.all.files.into.you
2fa0 72 20 41 6e 73 69 62 6c 65 20 70 72 6f 6a 65 63 74 20 22 2f 72 6f 6f 74 2f 61 77 73 2f 22 20 28 r.Ansible.project."/root/aws/".(
2fc0 61 6e 73 69 62 6c 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 65 2e 79 6d 6c 2c 20 6d 79 6b 65 79 ansible.cfg,.instance.yml,.mykey
2fe0 2e 70 65 6d 20 61 6e 64 20 22 61 6c 6c 22 29 2c 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 73 .pem.and."all"),.more.detailed.s
3000 65 65 20 60 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 ee.`Structure.of.files.Ansible.f
3020 6f 72 20 41 57 53 60 5f 00 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e 74 6f 20 79 or.AWS`_.4.Copy.all.files.into.y
3040 6f 75 72 20 41 6e 73 69 62 6c 65 20 70 72 6f 6a 65 63 74 20 22 2f 72 6f 6f 74 2f 61 7a 2f 22 20 our.Ansible.project."/root/az/".
3060 28 61 6e 73 69 62 6c 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 65 2e 79 6d 6c 2c 22 61 6c 6c 22 (ansible.cfg,.instance.yml,"all"
3080 29 2c 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 73 65 65 20 60 53 74 72 75 63 74 75 72 65 20 ),.more.detailed.see.`Structure.
30a0 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 6f 72 20 41 7a 75 72 65 60 5f 00 34 20 43 of.files.Ansible.for.Azure`_.4.C
30c0 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e 74 6f 20 79 6f 75 72 20 41 6e 73 69 62 6c 65 20 opy.all.files.into.your.Ansible.
30e0 70 72 6f 6a 65 63 74 20 22 2f 72 6f 6f 74 2f 76 73 70 68 65 72 65 74 65 72 72 61 66 6f 72 6d 2f project."/root/vsphereterraform/
3100 22 20 28 61 6e 73 69 62 6c 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 65 2e 79 6d 6c 2c 22 61 6c ".(ansible.cfg,.instance.yml,"al
3120 6c 22 29 2c 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 73 65 65 20 60 53 74 72 75 63 74 75 72 l"),.more.detailed.see.`Structur
3140 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 6f 72 20 76 53 70 68 65 72 65 60 5f e.of.files.Ansible.for.vSphere`_
3160 00 34 2e 31 20 54 79 70 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 6f 6e 20 79 6f 75 72 20 54 .4.1.Type.the.commands.on.your.T
3180 65 72 72 61 66 6f 6d 20 69 6e 73 74 61 6e 63 65 3a 00 41 20 56 79 4f 53 20 71 63 6f 77 20 69 6d errafom.instance:.A.VyOS.qcow.im
31a0 61 67 65 20 77 69 74 68 20 63 6c 6f 75 64 2d 69 6e 69 74 20 6f 70 74 69 6f 6e 73 20 69 73 20 6e age.with.cloud-init.options.is.n
31c0 65 65 64 65 64 2e 20 54 68 69 73 20 63 61 6e 20 62 65 20 6f 62 74 61 69 6e 65 64 20 75 73 69 6e eeded..This.can.be.obtained.usin
31e0 67 20 60 76 79 6f 73 2d 76 6d 2d 69 6d 61 67 65 73 60 5f 20 72 65 70 6f 2e 20 41 66 74 65 72 20 g.`vyos-vm-images`_.repo..After.
3200 63 6c 6f 6e 69 6e 67 20 74 68 65 20 72 65 70 6f 2c 20 65 64 69 74 20 74 68 65 20 66 69 6c 65 20 cloning.the.repo,.edit.the.file.
3220 2a 2a 71 65 6d 75 2e 79 6d 6c 2a 2a 20 61 6e 64 20 63 6f 6d 6d 65 6e 74 20 74 68 65 20 2a 2a 64 **qemu.yml**.and.comment.the.**d
3240 6f 77 6e 6c 6f 61 64 2d 69 73 6f 2a 2a 20 72 6f 6c 65 2e 00 41 20 56 79 4f 53 20 71 63 6f 77 20 ownload-iso**.role..A.VyOS.qcow.
3260 69 6d 61 67 65 20 77 69 74 68 20 63 6c 6f 75 64 2d 69 6e 69 74 20 6f 70 74 69 6f 6e 73 20 69 73 image.with.cloud-init.options.is
3280 20 6e 65 65 64 65 64 2e 20 54 68 69 73 20 63 61 6e 20 62 65 20 6f 62 74 61 69 6e 65 64 20 75 73 .needed..This.can.be.obtained.us
32a0 69 6e 67 20 60 76 79 6f 73 2d 76 6d 2d 69 6d 61 67 65 73 60 5f 20 72 65 70 6f 2e 20 41 66 74 65 ing.`vyos-vm-images`_.repo..Afte
32c0 72 20 63 6c 6f 6e 6e 69 6e 67 20 74 68 65 20 72 65 70 6f 2c 20 65 64 69 74 20 74 68 65 20 66 69 r.clonning.the.repo,.edit.the.fi
32e0 6c 65 20 2a 2a 71 65 6d 75 2e 79 6d 6c 2a 2a 20 61 6e 64 20 63 6f 6d 6d 65 6e 74 20 74 68 65 20 le.**qemu.yml**.and.comment.the.
3300 2a 2a 64 6f 77 6e 6c 6f 61 64 2d 69 73 6f 2a 2a 20 72 6f 6c 65 2e 00 41 20 63 6c 6f 75 64 2d 63 **download-iso**.role..A.cloud-c
3320 6f 6e 66 69 67 20 64 6f 63 75 6d 65 6e 74 20 69 73 20 77 72 69 74 74 65 6e 20 69 6e 20 59 41 4d onfig.document.is.written.in.YAM
3340 4c 2e 20 54 68 65 20 66 69 6c 65 20 6d 75 73 74 20 62 65 67 69 6e 20 77 69 74 68 20 60 60 23 63 L..The.file.must.begin.with.``#c
3360 6c 6f 75 64 2d 63 6f 6e 66 69 67 60 60 20 6c 69 6e 65 2e 20 54 68 65 20 6f 6e 6c 79 20 73 75 70 loud-config``.line..The.only.sup
3380 70 6f 72 74 65 64 20 74 6f 70 2d 6c 65 76 65 6c 20 6b 65 79 73 20 61 72 65 20 60 60 76 79 6f 73 ported.top-level.keys.are.``vyos
33a0 5f 63 6f 6e 66 69 67 5f 63 6f 6d 6d 61 6e 64 73 60 60 20 61 6e 64 20 60 60 77 72 69 74 65 5f 66 _config_commands``.and.``write_f
33c0 69 6c 65 73 60 60 2e 20 54 68 65 20 75 73 65 20 6f 66 20 74 68 65 73 65 20 6b 65 79 73 20 69 73 iles``..The.use.of.these.keys.is
33e0 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 77 6f 20 .described.in.the.following.two.
3400 73 65 63 74 69 6f 6e 73 2e 00 41 20 73 69 6d 70 6c 65 20 65 78 61 6d 70 6c 65 20 69 73 20 73 68 sections..A.simple.example.is.sh
3420 6f 77 6e 20 62 65 6c 6f 77 2c 20 77 68 65 72 65 20 74 68 65 20 6f 70 73 20 63 6f 6d 6d 61 6e 64 own.below,.where.the.ops.command
3440 20 65 78 65 63 75 74 65 64 20 69 6e 20 74 68 65 20 70 6f 73 74 2d 68 6f 6f 6b 20 73 63 72 69 70 .executed.in.the.post-hook.scrip
3460 74 20 69 73 20 22 73 68 6f 77 20 69 6e 74 65 72 66 61 63 65 73 22 2e 00 41 20 73 69 6e 67 6c 65 t.is."show.interfaces"..A.single
3480 2d 71 75 6f 74 65 20 73 79 6d 62 6f 6c 20 69 73 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 20 69 6e 73 -quote.symbol.is.not.allowed.ins
34a0 69 64 65 20 63 6f 6d 6d 61 6e 64 20 6f 72 20 76 61 6c 75 65 2e 00 41 50 49 20 45 6e 64 70 6f 69 ide.command.or.value..API.Endpoi
34c0 6e 74 73 00 41 57 53 00 41 57 53 5f 74 65 72 72 61 66 6f 72 6d 5f 61 6e 73 69 62 6c 65 5f 73 69 nts.AWS.AWS_terraform_ansible_si
34e0 6e 67 6c 65 5f 76 79 6f 73 5f 69 6e 73 74 61 6e 63 65 00 41 63 63 65 70 74 20 6d 69 6e 69 6f 6e ngle_vyos_instance.Accept.minion
3500 20 6b 65 79 00 41 66 74 65 72 20 65 78 65 63 75 74 69 6e 67 20 61 6c 6c 20 74 68 65 20 63 6f 6d .key.After.executing.all.the.com
3520 6d 61 6e 64 73 20 79 6f 75 20 77 69 6c 6c 20 68 61 76 65 20 79 6f 75 72 20 56 79 4f 53 20 69 6e mands.you.will.have.your.VyOS.in
3540 73 74 61 6e 63 65 20 6f 6e 20 74 68 65 20 41 57 53 20 63 6c 6f 75 64 20 77 69 74 68 20 79 6f 75 stance.on.the.AWS.cloud.with.you
3560 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 20 69 74 27 73 20 61 20 76 65 72 79 20 63 6f 6e r.configuration,.it's.a.very.con
3580 76 65 6e 69 65 6e 74 20 64 65 73 69 74 69 6f 6e 2e 20 49 66 20 79 6f 75 20 6e 65 65 64 20 74 6f venient.desition..If.you.need.to
35a0 20 64 65 6c 65 74 65 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 70 6c 65 61 73 65 20 74 79 70 65 .delete.the.instance.please.type
35c0 20 74 68 65 20 63 6f 6d 6d 61 6e 64 3a 00 41 66 74 65 72 20 65 78 65 63 75 74 69 6e 67 20 61 6c .the.command:.After.executing.al
35e0 6c 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 79 6f 75 20 77 69 6c 6c 20 68 61 76 65 20 79 6f 75 l.the.commands.you.will.have.you
3600 72 20 56 79 4f 53 20 69 6e 73 74 61 6e 63 65 20 6f 6e 20 74 68 65 20 41 7a 75 72 65 20 63 6c 6f r.VyOS.instance.on.the.Azure.clo
3620 75 64 20 77 69 74 68 20 79 6f 75 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 20 69 74 27 73 ud.with.your.configuration,.it's
3640 20 61 20 76 65 72 79 20 63 6f 6e 76 65 6e 69 65 6e 74 20 64 65 73 69 74 69 6f 6e 2e 20 49 66 20 .a.very.convenient.desition..If.
3660 79 6f 75 20 6e 65 65 64 20 74 6f 20 64 65 6c 65 74 65 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 you.need.to.delete.the.instance.
3680 70 6c 65 61 73 65 20 74 79 70 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 3a 00 41 66 74 65 72 20 65 please.type.the.command:.After.e
36a0 78 65 63 75 74 69 6e 67 20 61 6c 6c 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 79 6f 75 20 77 69 xecuting.all.the.commands.you.wi
36c0 6c 6c 20 68 61 76 65 20 79 6f 75 72 20 56 79 4f 53 20 69 6e 73 74 61 6e 63 65 20 6f 6e 20 74 68 ll.have.your.VyOS.instance.on.th
36e0 65 20 76 53 70 68 65 72 65 20 77 69 74 68 20 79 6f 75 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f e.vSphere.with.your.configuratio
3700 6e 2c 20 69 74 27 73 20 61 20 76 65 72 79 20 63 6f 6e 76 65 6e 69 65 6e 74 20 64 65 73 69 74 69 n,.it's.a.very.convenient.desiti
3720 6f 6e 2e 20 49 66 20 79 6f 75 20 6e 65 65 64 20 74 6f 20 64 65 6c 65 74 65 20 74 68 65 20 69 6e on..If.you.need.to.delete.the.in
3740 73 74 61 6e 63 65 20 70 6c 65 61 73 65 20 74 79 70 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 3a 00 stance.please.type.the.command:.
3760 41 66 74 65 72 20 74 68 65 20 60 60 76 79 6f 73 5f 63 6f 6e 66 69 67 5f 63 6f 6d 6d 61 6e 64 73 After.the.``vyos_config_commands
3780 60 60 20 61 72 65 20 65 78 65 63 75 74 65 64 2c 20 63 6c 6f 75 64 2d 69 6e 69 74 20 77 69 6c 6c ``.are.executed,.cloud-init.will
37a0 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 20 70 65 72 66 6f 72 6d 20 61 20 60 60 63 6f 6d 6d .automatically..perform.a.``comm
37c0 69 74 60 60 20 61 6e 64 20 60 60 73 61 76 65 60 60 20 6f 70 65 72 61 74 69 6f 6e 2e 00 41 6c 6c it``.and.``save``.operation..All
37e0 20 65 6e 64 70 6f 69 6e 74 73 20 6f 6e 6c 79 20 6c 69 73 74 65 6e 20 6f 6e 20 48 54 54 50 20 50 .endpoints.only.listen.on.HTTP.P
3800 4f 53 54 20 72 65 71 75 65 73 74 73 20 61 6e 64 20 74 68 65 20 41 50 49 20 4b 45 59 20 6d 75 73 OST.requests.and.the.API.KEY.mus
3820 74 20 73 65 74 20 61 73 20 60 60 6b 65 79 60 60 20 69 6e 20 74 68 65 20 66 6f 72 6d 64 61 74 61 t.set.as.``key``.in.the.formdata
3840 2e 00 41 6c 6c 20 66 69 6c 65 73 20 61 62 6f 75 74 20 74 68 65 20 61 72 74 69 63 6c 65 20 63 61 ..All.files.about.the.article.ca
3860 6e 20 62 65 20 66 6f 75 6e 64 20 68 65 72 65 5f 00 41 6c 6c 20 6f 66 20 74 68 65 73 65 20 63 61 n.be.found.here_.All.of.these.ca
3880 6e 20 62 65 20 6f 76 65 72 72 69 64 64 65 6e 20 75 73 69 6e 67 20 74 68 65 20 63 6f 6e 66 69 67 n.be.overridden.using.the.config
38a0 75 72 61 74 69 6f 6e 20 69 6e 20 75 73 65 72 2d 64 61 74 61 2e 00 41 6c 73 6f 2c 20 69 6e 63 72 uration.in.user-data..Also,.incr
38c0 65 61 73 65 20 74 68 65 20 74 69 6d 65 20 69 6e 20 74 68 65 20 66 69 6c 65 20 69 6e 73 74 61 6e ease.the.time.in.the.file.instan
38e0 63 65 2e 79 6d 6c 20 66 72 6f 6d 20 33 30 30 20 73 65 63 20 74 6f 20 35 30 30 20 73 65 63 20 6f ce.yml.from.300.sec.to.500.sec.o
3900 72 20 6d 6f 72 65 2e 20 28 49 74 20 64 65 70 65 6e 64 73 20 6f 6e 20 79 6f 75 72 20 6c 6f 63 61 r.more..(It.depends.on.your.loca
3920 74 69 6f 6e 29 2e 20 4d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 79 6f 75 20 68 61 76 65 20 6f tion)..Make.sure.that.you.have.o
3940 70 65 6e 65 64 20 61 63 63 65 73 73 20 74 6f 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 69 6e 20 pened.access.to.the.instance.in.
3960 74 68 65 20 73 65 63 75 72 69 74 79 20 67 72 6f 75 70 2e 00 41 6c 73 6f 2c 20 74 68 69 73 20 6c the.security.group..Also,.this.l
3980 61 62 20 63 6f 6e 73 69 64 65 72 73 3a 00 41 6e 73 69 62 6c 65 00 41 6e 79 20 6d 6f 64 69 66 69 ab.considers:.Ansible.Any.modifi
39a0 63 61 74 69 6f 6e 73 20 77 65 72 65 20 64 6f 6e 65 20 74 6f 20 77 6f 72 6b 20 61 72 6f 75 6e 64 cations.were.done.to.work.around
39c0 20 75 6e 66 69 78 65 64 20 62 75 67 73 20 61 6e 64 20 69 6d 70 6c 65 6d 65 6e 74 20 65 6e 68 61 .unfixed.bugs.and.implement.enha
39e0 6e 63 65 6d 65 6e 74 73 20 74 68 61 74 20 61 72 65 20 6e 6f 74 20 63 6f 6d 70 6c 65 74 65 20 69 ncements.that.are.not.complete.i
3a00 6e 20 74 68 65 20 56 79 4f 53 20 73 79 73 74 65 6d 20 63 61 6e 20 62 65 20 70 6c 61 63 65 64 20 n.the.VyOS.system.can.be.placed.
3a20 68 65 72 65 2e 00 41 74 20 74 68 69 73 20 73 74 65 70 20 77 65 20 63 61 6e 20 67 65 74 20 73 6f here..At.this.step.we.can.get.so
3a40 6d 65 20 6f 70 2d 6d 6f 64 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 56 79 4f 53 me.op-mode.information.from.VyOS
3a60 20 6e 6f 64 65 73 3a 00 41 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 00 41 7a 75 72 65 00 41 7a 75 .nodes:.Authentication.Azure.Azu
3a80 72 65 5f 74 65 72 72 61 66 6f 72 6d 5f 61 6e 73 69 62 6c 65 5f 73 69 6e 67 6c 65 5f 76 79 6f 73 re_terraform_ansible_single_vyos
3aa0 5f 69 6e 73 74 61 6e 63 65 00 42 65 66 6f 72 65 20 73 74 61 72 74 69 6e 67 2c 20 70 6c 65 61 73 _instance.Before.starting,.pleas
3ac0 65 20 72 65 66 65 72 20 74 6f 20 63 6c 6f 75 64 2d 69 6e 69 74 20 60 6e 65 74 77 6f 72 6b 2d 63 e.refer.to.cloud-init.`network-c
3ae0 6f 6e 66 69 67 2d 64 6f 63 73 60 5f 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 6b 6e 6f 77 20 68 6f onfig-docs`_.in.order.to.know.ho
3b00 77 20 74 6f 20 69 6d 70 6f 72 74 20 75 73 65 72 20 61 6e 64 20 6e 65 74 77 6f 72 6b 20 63 6f 6e w.to.import.user.and.network.con
3b20 66 69 67 75 72 61 74 69 6f 6e 73 2e 00 42 65 6c 6f 77 20 73 65 65 20 6f 6e 65 20 65 78 61 6d 70 figurations..Below.see.one.examp
3b40 6c 65 20 66 6f 72 20 63 75 72 6c 20 61 6e 64 20 6f 6e 65 20 66 6f 72 20 70 79 74 68 6f 6e 2e 20 le.for.curl.and.one.for.python..
3b60 54 68 65 20 72 65 73 74 20 6f 66 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 69 73 The.rest.of.the.documentation.is
3b80 20 72 65 64 75 63 65 64 20 74 6f 20 63 75 72 6c 2e 00 43 68 65 63 6b 20 73 61 6c 74 2d 6b 65 79 .reduced.to.curl..Check.salt-key
3ba0 73 20 6f 6e 20 74 68 65 20 73 61 6c 74 20 6d 61 73 74 65 72 00 43 68 65 63 6b 20 74 68 61 74 20 s.on.the.salt.master.Check.that.
3bc0 70 72 6f 78 79 20 6d 69 6e 69 6f 6e 20 69 73 20 61 6c 69 76 65 3a 00 43 68 65 63 6b 20 74 68 61 proxy.minion.is.alive:.Check.tha
3be0 74 20 73 61 6c 74 20 6d 61 73 74 65 72 20 63 61 6e 20 63 6f 6d 6d 75 6e 69 63 61 74 65 20 77 69 t.salt.master.can.communicate.wi
3c00 74 68 20 6d 69 6e 69 6f 6e 73 00 43 6c 6f 75 64 20 61 6e 64 20 76 69 72 74 75 61 6c 69 7a 65 64 th.minions.Cloud.and.virtualized
3c20 20 69 6e 73 74 61 6e 63 65 73 20 6f 66 20 56 79 4f 53 20 61 72 65 20 69 6e 69 74 69 61 6c 69 7a .instances.of.VyOS.are.initializ
3c40 65 64 20 75 73 69 6e 67 20 74 68 65 20 69 6e 64 75 73 74 72 79 2d 73 74 61 6e 64 61 72 64 20 63 ed.using.the.industry-standard.c
3c60 6c 6f 75 64 2d 69 6e 69 74 2e 20 56 69 61 20 63 6c 6f 75 64 2d 69 6e 69 74 2c 20 74 68 65 20 73 loud-init..Via.cloud-init,.the.s
3c80 79 73 74 65 6d 20 70 65 72 66 6f 72 6d 73 20 74 61 73 6b 73 20 73 75 63 68 20 61 73 20 69 6e 6a ystem.performs.tasks.such.as.inj
3ca0 65 63 74 69 6e 67 20 53 53 48 20 6b 65 79 73 20 61 6e 64 20 63 6f 6e 66 69 67 75 72 69 6e 67 20 ecting.SSH.keys.and.configuring.
3cc0 74 68 65 20 6e 65 74 77 6f 72 6b 2e 20 49 6e 20 61 64 64 69 74 69 6f 6e 2c 20 74 68 65 20 75 73 the.network..In.addition,.the.us
3ce0 65 72 20 63 61 6e 20 73 75 70 70 6c 79 20 61 20 63 75 73 74 6f 6d 20 63 6f 6e 66 69 67 75 72 61 er.can.supply.a.custom.configura
3d00 74 69 6f 6e 20 61 74 20 74 68 65 20 74 69 6d 65 20 6f 66 20 69 6e 73 74 61 6e 63 65 20 6c 61 75 tion.at.the.time.of.instance.lau
3d20 6e 63 68 2e 00 43 6c 6f 75 64 2d 63 6f 6e 66 69 67 20 6d 6f 64 75 6c 65 73 00 43 6c 6f 75 64 2d nch..Cloud-config.modules.Cloud-
3d40 69 6e 69 74 20 60 6e 65 74 77 6f 72 6b 2d 63 6f 6e 66 69 67 2d 64 6f 63 73 60 5f 2e 00 43 6c 6f init.`network-config-docs`_..Clo
3d60 75 64 2d 69 6e 69 74 20 6f 6e 20 50 72 6f 78 6d 6f 78 00 43 6f 6d 6d 61 6e 64 20 45 78 65 63 75 ud-init.on.Proxmox.Command.Execu
3d80 74 69 6f 6e 20 61 74 20 49 6e 69 74 69 61 6c 20 42 6f 6f 74 00 43 6f 6d 6d 61 6e 64 20 53 63 72 tion.at.Initial.Boot.Command.Scr
3da0 69 70 74 69 6e 67 00 43 6f 6d 6d 61 6e 64 20 66 6f 72 20 67 65 6e 65 72 61 74 69 6e 67 20 60 60 ipting.Command.for.generating.``
3dc0 73 65 65 64 2e 69 73 6f 60 60 00 43 6f 6d 6d 61 6e 64 73 20 72 65 71 75 69 72 65 6d 65 6e 74 73 seed.iso``.Commands.requirements
3de0 3a 00 43 6f 6e 66 69 67 20 53 6f 75 72 63 65 73 00 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 00 43 :.Config.Sources.Configuration.C
3e00 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 65 78 65 63 75 74 onfiguration.commands.are.execut
3e20 65 64 20 6a 75 73 74 20 6c 69 6b 65 20 66 72 6f 6d 20 61 20 6e 6f 72 6d 61 6c 20 63 6f 6e 66 69 ed.just.like.from.a.normal.confi
3e40 67 20 73 65 73 73 69 6f 6e 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 79 6f 75 20 77 g.session..For.example,.if.you.w
3e60 61 6e 74 20 74 6f 20 64 69 73 61 62 6c 65 20 61 20 42 47 50 20 70 65 65 72 20 6f 6e 20 56 52 52 ant.to.disable.a.BGP.peer.on.VRR
3e80 50 20 74 72 61 6e 73 69 74 69 6f 6e 20 74 6f 20 62 61 63 6b 75 70 3a 00 43 6f 6e 66 69 67 75 72 P.transition.to.backup:.Configur
3ea0 65 2c 20 74 68 65 6e 20 44 65 6c 65 74 65 20 4f 62 6a 65 63 74 00 43 6f 6e 66 69 67 75 72 65 2c e,.then.Delete.Object.Configure,
3ec0 20 74 68 65 6e 20 4c 6f 61 64 20 46 69 6c 65 00 43 6f 6e 66 69 67 75 72 65 2c 20 74 68 65 6e 20 .then.Load.File.Configure,.then.
3ee0 53 61 76 65 00 43 6f 6e 66 69 67 75 72 65 2c 20 74 68 65 6e 20 53 61 76 65 20 46 69 6c 65 00 43 Save.Configure,.then.Save.File.C
3f00 6f 6e 66 69 67 75 72 65 2c 20 74 68 65 6e 20 53 65 74 00 43 6f 6e 66 69 67 75 72 65 2c 20 74 68 onfigure,.then.Set.Configure,.th
3f20 65 6e 20 53 68 6f 77 20 4f 62 6a 65 63 74 00 43 6f 6e 66 69 67 75 72 65 2c 20 74 68 65 6e 20 53 en.Show.Object.Configure,.then.S
3f40 68 6f 77 20 61 20 53 69 6e 67 6c 65 20 4f 62 6a 65 63 74 20 56 61 6c 75 65 00 43 6f 6e 74 65 6e how.a.Single.Object.Value.Conten
3f60 74 00 43 6f 6e 74 65 6e 74 20 6f 66 20 63 6f 6d 6d 61 6e 64 73 2e 63 6f 6e 66 00 43 6f 6e 74 65 t.Content.of.commands.conf.Conte
3f80 6e 74 20 6f 66 20 6e 65 74 77 6f 72 6b 2d 63 6f 6e 66 69 67 20 66 69 6c 65 3a 00 43 72 65 61 74 nt.of.network-config.file:.Creat
3fa0 65 20 73 65 65 64 2e 69 73 6f 00 43 72 65 61 74 65 20 74 65 78 74 20 66 69 6c 65 73 20 6e 61 6d e.seed.iso.Create.text.files.nam
3fc0 65 64 20 75 73 65 72 2d 64 61 74 61 20 61 6e 64 20 6d 65 74 61 2d 64 61 74 61 2e 20 4f 6e 20 6c ed.user-data.and.meta-data..On.l
3fe0 69 6e 75 78 2d 62 61 73 65 64 20 73 79 73 74 65 6d 73 2c 20 74 68 65 20 6d 6b 69 73 6f 66 73 20 inux-based.systems,.the.mkisofs.
4000 75 74 69 6c 69 74 79 20 63 61 6e 20 62 65 20 75 73 65 64 20 74 6f 20 63 72 65 61 74 65 20 74 68 utility.can.be.used.to.create.th
4020 65 20 73 65 65 64 20 49 53 4f 2e 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 73 79 6e 74 61 78 e.seed.ISO..The.following.syntax
4040 20 77 69 6c 6c 20 61 64 64 20 74 68 65 73 65 20 66 69 6c 65 73 20 74 6f 20 74 68 65 20 49 53 4f .will.add.these.files.to.the.ISO
4060 20 39 36 36 30 20 66 69 6c 65 20 73 79 73 74 65 6d 2e 00 43 72 65 61 74 69 6e 67 20 74 68 65 20 .9660.file.system..Creating.the.
4080 56 4d 00 43 75 73 74 6f 6d 20 73 63 72 69 70 74 73 20 61 72 65 20 6e 6f 74 20 65 78 65 63 75 74 VM.Custom.scripts.are.not.execut
40a0 65 64 20 77 69 74 68 20 72 6f 6f 74 20 70 72 69 76 69 6c 65 67 65 73 20 28 55 73 65 20 73 75 64 ed.with.root.privileges.(Use.sud
40c0 6f 20 69 6e 73 69 64 65 20 69 66 20 74 68 69 73 20 69 73 20 6e 65 63 65 73 73 61 72 79 29 2e 00 o.inside.if.this.is.necessary)..
40e0 44 48 43 50 20 6f 6e 20 66 69 72 73 74 20 45 74 68 65 72 6e 65 74 20 69 6e 74 65 72 66 61 63 65 DHCP.on.first.Ethernet.interface
4100 20 69 66 20 6e 6f 20 6e 65 74 77 6f 72 6b 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 73 20 .if.no.network.configuration.is.
4120 70 72 6f 76 69 64 65 64 2e 00 44 65 70 6c 6f 79 69 6e 67 20 56 79 4f 53 20 69 6e 20 74 68 65 20 provided..Deploying.VyOS.in.the.
4140 41 57 53 20 63 6c 6f 75 64 00 44 65 70 6c 6f 79 69 6e 67 20 56 79 4f 53 20 69 6e 20 74 68 65 20 AWS.cloud.Deploying.VyOS.in.the.
4160 41 7a 75 72 65 20 63 6c 6f 75 64 00 44 65 70 6c 6f 79 69 6e 67 20 56 79 4f 53 20 69 6e 20 74 68 Azure.cloud.Deploying.VyOS.in.th
4180 65 20 76 53 70 68 65 72 65 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 00 44 65 70 6c 6f 79 69 e.vSphere.infrastructure.Deployi
41a0 6e 67 20 76 79 6f 73 20 69 6e 20 74 68 65 20 41 57 53 20 63 6c 6f 75 64 00 44 65 70 6c 6f 79 69 ng.vyos.in.the.AWS.cloud.Deployi
41c0 6e 67 20 76 79 6f 73 20 69 6e 20 74 68 65 20 41 7a 75 72 65 20 63 6c 6f 75 64 00 44 65 70 6c 6f ng.vyos.in.the.Azure.cloud.Deplo
41e0 79 69 6e 67 20 76 79 6f 73 20 69 6e 20 74 68 65 20 56 73 70 68 65 72 65 20 69 6e 66 72 61 73 74 ying.vyos.in.the.Vsphere.infrast
4200 72 75 63 74 69 61 00 45 78 61 6d 70 6c 65 00 45 78 61 6d 70 6c 65 20 6f 66 20 63 6f 6e 66 69 67 ructia.Example.Example.of.config
4220 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 66 72 6f 6d 20 74 68 65 20 66 69 6c 65 20 22 uration.commands.from.the.file."
4240 2f 73 72 76 2f 73 61 6c 74 2f 73 74 61 74 65 73 2f 63 6f 6d 6d 61 6e 64 73 2e 74 78 74 22 00 45 /srv/salt/states/commands.txt".E
4260 78 61 6d 70 6c 65 20 6f 66 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 3a 00 45 78 61 6d 70 6c 65 xample.of.configuration:.Example
4280 20 6f 66 20 6f 70 2d 6d 6f 64 65 3a 00 45 78 61 6d 70 6c 65 73 00 45 78 65 63 75 74 69 6e 67 20 .of.op-mode:.Examples.Executing.
42a0 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 53 63 72 69 70 74 73 00 45 78 65 63 75 74 69 6e 67 20 Configuration.Scripts.Executing.
42c0 70 72 65 2d 68 6f 6f 6b 73 2f 70 6f 73 74 2d 68 6f 6f 6b 73 20 53 63 72 69 70 74 73 00 46 69 6c pre-hooks/post-hooks.Scripts.Fil
42e0 65 20 63 6f 6e 74 65 6e 74 73 00 46 69 6c 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 41 6e 73 69 e.contents.File.contents.of.Ansi
4300 62 6c 65 20 66 6f 72 20 41 57 53 00 46 69 6c 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 41 6e 73 ble.for.AWS.File.contents.of.Ans
4320 69 62 6c 65 20 66 6f 72 20 41 7a 75 72 65 00 46 69 6c 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 ible.for.Azure.File.contents.of.
4340 41 6e 73 69 62 6c 65 20 66 6f 72 20 76 53 70 68 65 72 65 00 46 69 6c 65 20 63 6f 6e 74 65 6e 74 Ansible.for.vSphere.File.content
4360 73 20 6f 66 20 54 65 72 72 61 66 6f 6d 20 66 6f 72 20 41 57 53 00 46 69 6c 65 20 63 6f 6e 74 65 s.of.Terrafom.for.AWS.File.conte
4380 6e 74 73 20 6f 66 20 54 65 72 72 61 66 6f 6d 20 66 6f 72 20 41 7a 75 72 65 00 46 69 6c 65 20 63 nts.of.Terrafom.for.Azure.File.c
43a0 6f 6e 74 65 6e 74 73 20 6f 66 20 54 65 72 72 61 66 6f 6d 20 66 6f 72 20 76 53 70 68 65 72 65 00 ontents.of.Terrafom.for.vSphere.
43c0 46 69 6c 65 20 67 65 6e 65 72 61 74 65 64 20 77 69 74 68 20 70 72 65 76 69 6f 75 73 20 63 6f 6d File.generated.with.previous.com
43e0 6d 61 6e 64 3a 20 60 60 2f 74 6d 70 2f 76 79 6f 73 2d 31 2e 33 2e 30 2d 63 6c 6f 75 64 2d 69 6e mand:.``/tmp/vyos-1.3.0-cloud-in
4400 69 74 2d 31 30 47 2d 71 65 6d 75 2e 71 63 6f 77 32 60 60 00 46 69 6e 61 6c 6c 79 2c 20 66 69 6c it-10G-qemu.qcow2``.Finally,.fil
4420 65 20 2a 2a 6d 65 74 61 2d 64 61 74 61 2a 2a 20 68 61 73 20 6e 6f 20 63 6f 6e 74 65 6e 74 2c 20 e.**meta-data**.has.no.content,.
4440 62 75 74 20 69 74 27 73 20 72 65 71 75 69 72 65 64 2e 00 46 69 6e 61 6c 79 2c 20 66 69 6c 65 20 but.it's.required..Finaly,.file.
4460 2a 2a 6d 65 74 61 2d 64 61 74 61 2a 2a 20 68 61 73 20 6e 6f 20 63 6f 6e 74 65 6e 74 2c 20 62 75 **meta-data**.has.no.content,.bu
4480 74 20 69 74 27 73 20 72 65 71 75 69 72 65 64 2e 00 46 6f 72 20 63 6f 6e 66 69 67 75 72 61 74 69 t.it's.required..For.configurati
44a0 6f 6e 20 61 6e 64 20 65 6e 61 62 6c 69 6e 67 20 74 68 65 20 41 50 49 20 73 65 65 20 3a 72 65 66 on.and.enabling.the.API.see.:ref
44c0 3a 60 68 74 74 70 2d 61 70 69 60 00 46 6f 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2f 75 70 :`http-api`.For.configuration/up
44e0 67 72 61 64 65 20 6d 61 6e 61 67 65 6d 65 6e 74 20 69 73 73 75 65 73 2c 20 6d 6f 64 69 66 69 63 grade.management.issues,.modific
4500 61 74 69 6f 6e 20 6f 66 20 74 68 69 73 20 73 63 72 69 70 74 20 73 68 6f 75 6c 64 20 62 65 20 74 ation.of.this.script.should.be.t
4520 68 65 20 6c 61 73 74 20 6f 70 74 69 6f 6e 2e 20 41 6c 77 61 79 73 20 74 72 79 20 74 6f 20 66 69 he.last.option..Always.try.to.fi
4540 6e 64 20 73 6f 6c 75 74 69 6f 6e 73 20 62 61 73 65 64 20 6f 6e 20 43 4c 49 20 63 6f 6d 6d 61 6e nd.solutions.based.on.CLI.comman
4560 64 73 20 66 69 72 73 74 2e 00 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 63 68 65 63 6b 20 61 6e 20 ds.first..For.example,.check.an.
4580 65 78 69 73 74 69 6e 67 20 70 61 74 68 3a 00 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 67 65 74 20 existing.path:.For.example,.get.
45a0 74 68 65 20 61 64 64 72 65 73 73 65 73 20 6f 66 20 61 20 60 60 64 75 6d 30 60 60 20 69 6e 74 65 the.addresses.of.a.``dum0``.inte
45c0 72 66 61 63 65 2e 00 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 73 68 6f 77 20 77 68 69 63 68 20 69 rface..For.example,.show.which.i
45e0 6d 61 67 65 73 20 61 72 65 20 69 6e 73 74 61 6c 6c 65 64 2e 00 46 6f 72 20 6d 6f 72 65 20 69 6e mages.are.installed..For.more.in
4600 66 6f 72 6d 61 74 69 6f 6e 20 6f 6e 20 74 68 65 20 4e 6f 43 6c 6f 75 64 20 64 61 74 61 20 73 6f formation.on.the.NoCloud.data.so
4620 75 72 63 65 2c 20 76 69 73 69 74 20 69 74 73 20 60 70 61 67 65 20 3c 68 74 74 70 73 3a 2f 2f 63 urce,.visit.its.`page.<https://c
4640 6c 6f 75 64 69 6e 69 74 2e 72 65 61 64 74 68 65 64 6f 63 73 2e 69 6f 2f 65 6e 2f 6c 61 74 65 73 loudinit.readthedocs.io/en/lates
4660 74 2f 72 65 66 65 72 65 6e 63 65 2f 64 61 74 61 73 6f 75 72 63 65 73 2f 6e 6f 63 6c 6f 75 64 2e t/reference/datasources/nocloud.
4680 68 74 6d 6c 3e 60 5f 20 69 6e 20 74 68 65 20 63 6c 6f 75 64 2d 69 6e 69 74 20 64 6f 63 75 6d 65 html>`_.in.the.cloud-init.docume
46a0 6e 74 61 74 69 6f 6e 2e 00 46 6f 72 20 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 6f 6e ntation..For.more.information.on
46c0 20 74 68 65 20 4e 6f 43 6c 6f 75 64 20 64 61 74 61 20 73 6f 75 72 63 65 2c 20 76 69 73 69 74 20 .the.NoCloud.data.source,.visit.
46e0 69 74 73 20 70 61 67 65 20 60 6e 6f 63 6c 6f 75 64 60 5f 20 69 6e 20 74 68 65 20 63 6c 6f 75 64 its.page.`nocloud`_.in.the.cloud
4700 2d 69 6e 69 74 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 2e 00 46 72 6f 6d 20 63 6c 69 20 6f 72 -init.documentation..From.cli.or
4720 20 47 55 49 2c 20 70 6f 77 65 72 20 6f 6e 20 56 4d 2c 20 61 6e 64 20 61 66 74 65 72 20 69 74 20 .GUI,.power.on.VM,.and.after.it.
4740 62 6f 6f 74 73 2c 20 76 65 72 69 66 79 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 00 47 65 6e 65 boots,.verify.configuration.Gene
4760 72 61 6c 20 63 6f 6d 6d 61 6e 64 73 20 74 68 61 74 20 77 65 20 77 69 6c 6c 20 75 73 65 20 66 6f ral.commands.that.we.will.use.fo
4780 72 20 72 75 6e 6e 69 6e 67 20 54 65 72 72 61 66 6f 72 6d 20 73 63 72 69 70 74 73 00 47 65 6e 65 r.running.Terraform.scripts.Gene
47a0 72 61 74 65 20 4f 62 6a 65 63 74 00 47 65 6e 65 72 61 74 65 20 71 63 6f 77 20 69 6d 61 67 65 00 rate.Object.Generate.qcow.image.
47c0 47 65 74 74 69 6e 67 20 53 74 61 72 74 65 64 00 48 65 72 65 20 69 73 20 61 20 73 69 6d 70 6c 65 Getting.Started.Here.is.a.simple
47e0 20 65 78 61 6d 70 6c 65 3a 00 48 65 72 65 20 69 73 20 61 6e 20 65 78 61 6d 70 6c 65 20 63 6c 6f .example:.Here.is.an.example.clo
4800 75 64 2d 63 6f 6e 66 69 67 20 74 68 61 74 20 61 70 70 65 6e 64 73 20 63 6f 6e 66 69 67 75 72 61 ud-config.that.appends.configura
4820 74 69 6f 6e 20 61 74 20 74 68 65 20 74 69 6d 65 20 6f 66 20 66 69 72 73 74 20 62 6f 6f 74 2e 00 tion.at.the.time.of.first.boot..
4840 48 6f 77 20 74 6f 20 63 72 65 61 74 65 20 61 20 73 69 6e 67 6c 65 20 69 6e 73 74 61 6e 63 65 20 How.to.create.a.single.instance.
4860 61 6e 64 20 69 6e 73 74 61 6c 6c 20 79 6f 75 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 75 and.install.your.configuration.u
4880 73 69 6e 67 20 54 65 72 72 61 66 6f 72 6d 2b 41 6e 73 69 62 6c 65 2b 41 57 53 20 53 74 65 70 20 sing.Terraform+Ansible+AWS.Step.
48a0 62 79 20 73 74 65 70 3a 00 48 6f 77 20 74 6f 20 63 72 65 61 74 65 20 61 20 73 69 6e 67 6c 65 20 by.step:.How.to.create.a.single.
48c0 69 6e 73 74 61 6e 63 65 20 61 6e 64 20 69 6e 73 74 61 6c 6c 20 79 6f 75 72 20 63 6f 6e 66 69 67 instance.and.install.your.config
48e0 75 72 61 74 69 6f 6e 20 75 73 69 6e 67 20 54 65 72 72 61 66 6f 72 6d 2b 41 6e 73 69 62 6c 65 2b uration.using.Terraform+Ansible+
4900 41 7a 75 72 65 20 53 74 65 70 20 62 79 20 73 74 65 70 3a 00 48 6f 77 20 74 6f 20 63 72 65 61 74 Azure.Step.by.step:.How.to.creat
4920 65 20 61 20 73 69 6e 67 6c 65 20 69 6e 73 74 61 6e 63 65 20 61 6e 64 20 69 6e 73 74 61 6c 6c 20 e.a.single.instance.and.install.
4940 79 6f 75 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 75 73 69 6e 67 20 54 65 72 72 61 66 6f your.configuration.using.Terrafo
4960 72 6d 2b 41 6e 73 69 62 6c 65 2b 56 73 70 68 65 72 65 20 53 74 65 70 20 62 79 20 73 74 65 70 3a rm+Ansible+Vsphere.Step.by.step:
4980 00 48 6f 77 20 74 6f 20 63 72 65 61 74 65 20 61 20 73 69 6e 67 6c 65 20 69 6e 73 74 61 6e 63 65 .How.to.create.a.single.instance
49a0 20 61 6e 64 20 69 6e 73 74 61 6c 6c 20 79 6f 75 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 .and.install.your.configuration.
49c0 75 73 69 6e 67 20 54 65 72 72 61 66 6f 72 6d 2b 41 6e 73 69 62 6c 65 2b 76 53 70 68 65 72 65 20 using.Terraform+Ansible+vSphere.
49e0 53 74 65 70 20 62 79 20 73 74 65 70 3a 00 49 53 4f 20 66 69 6c 65 73 20 73 74 6f 72 61 67 65 3a Step.by.step:.ISO.files.storage:
4a00 20 60 60 6c 6f 63 61 6c 60 60 20 76 6f 6c 75 6d 65 20 69 73 20 75 73 65 64 20 66 6f 72 20 60 60 .``local``.volume.is.used.for.``
4a20 2e 69 73 6f 60 60 20 66 69 6c 65 20 73 74 6f 72 61 67 65 2e 20 49 6e 20 74 68 69 73 20 73 63 65 .iso``.file.storage..In.this.sce
4a40 6e 61 72 69 6f 20 60 60 6c 6f 63 61 6c 60 60 20 76 6f 6c 75 6d 65 20 74 79 70 65 20 69 73 20 73 nario.``local``.volume.type.is.s
4a60 65 74 20 74 6f 20 2a 2a 64 69 72 65 63 74 6f 72 79 2a 2a 2c 20 61 62 64 20 61 74 74 61 63 68 65 et.to.**directory**,.abd.attache
4a80 64 20 74 6f 20 60 60 2f 76 61 72 2f 6c 69 62 2f 76 7a 60 60 2e 00 49 66 20 63 6f 6d 6d 61 6e 64 d.to.``/var/lib/vz``..If.command
4aa0 20 65 6e 64 73 20 69 6e 20 61 20 76 61 6c 75 65 2c 20 69 74 20 6d 75 73 74 20 62 65 20 69 6e 73 .ends.in.a.value,.it.must.be.ins
4ac0 69 64 65 20 73 69 6e 67 6c 65 20 71 75 6f 74 65 73 2e 00 49 66 20 6e 6f 20 6e 65 74 77 6f 72 6b ide.single.quotes..If.no.network
4ae0 69 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 73 20 70 72 6f 76 69 64 65 64 2c 20 74 ing.configuration.is.provided,.t
4b00 68 65 6e 20 64 68 63 70 20 63 6c 69 65 6e 74 20 69 73 20 67 6f 69 6e 67 20 74 6f 20 62 65 20 65 hen.dhcp.client.is.going.to.be.e
4b20 6e 61 62 6c 65 64 20 6f 6e 20 66 69 72 73 74 20 69 6e 74 65 72 66 61 63 65 2e 20 42 61 72 65 20 nabled.on.first.interface..Bare.
4b40 69 6e 20 6d 69 6e 64 20 74 68 61 74 20 74 68 69 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 in.mind.that.this.configuration.
4b60 77 69 6c 6c 20 62 65 20 69 6e 79 65 63 74 65 64 20 61 74 20 61 6e 20 4f 53 20 6c 65 76 65 6c 2c will.be.inyected.at.an.OS.level,
4b80 20 73 6f 20 64 6f 6e 27 74 20 65 78 70 65 63 74 20 74 6f 20 66 69 6e 64 20 64 68 63 70 20 63 6c .so.don't.expect.to.find.dhcp.cl
4ba0 69 65 6e 74 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 6f 6e 20 76 79 6f 73 20 63 6c 69 2e 20 ient.configuration.on.vyos.cli..
4bc0 42 65 63 61 75 73 65 20 6f 66 20 74 68 69 73 20 62 65 68 61 76 69 6f 72 2c 20 69 6e 20 6e 65 78 Because.of.this.behavior,.in.nex
4be0 74 20 65 78 61 6d 70 6c 65 20 6c 61 62 20 77 65 20 77 69 6c 6c 20 64 69 73 61 62 6c 65 20 64 68 t.example.lab.we.will.disable.dh
4c00 63 70 2d 63 6c 69 65 6e 74 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 6f 6e 20 65 74 68 30 2e cp-client.configuration.on.eth0.
4c20 00 49 66 20 79 6f 75 20 65 6e 63 6f 75 6e 74 65 72 20 70 72 6f 62 6c 65 6d 73 2c 20 76 65 72 69 .If.you.encounter.problems,.veri
4c40 66 79 20 74 68 61 74 20 74 68 65 20 63 6c 6f 75 64 2d 63 6f 6e 66 69 67 20 64 6f 63 75 6d 65 6e fy.that.the.cloud-config.documen
4c60 74 20 63 6f 6e 74 61 69 6e 73 20 76 61 6c 69 64 20 59 41 4d 4c 2e 20 4f 6e 6c 69 6e 65 20 72 65 t.contains.valid.YAML..Online.re
4c80 73 6f 75 72 63 65 73 20 73 75 63 68 20 61 73 20 68 74 74 70 73 3a 2f 2f 77 77 77 2e 79 61 6d 6c sources.such.as.https://www.yaml
4ca0 6c 69 6e 74 2e 63 6f 6d 2f 20 70 72 6f 76 69 64 65 20 61 20 73 69 6d 70 6c 65 20 74 6f 6f 6c 20 lint.com/.provide.a.simple.tool.
4cc0 66 6f 72 20 76 61 6c 69 64 61 74 69 6e 67 20 59 41 4d 4c 2e 00 49 66 20 79 6f 75 20 6e 65 65 64 for.validating.YAML..If.you.need
4ce0 20 74 6f 20 67 61 74 68 65 72 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 6c 69 6e 75 .to.gather.information.from.linu
4d00 78 20 63 6f 6d 6d 61 6e 64 73 20 74 6f 20 63 6f 6e 66 69 67 75 72 65 20 56 79 4f 53 2c 20 79 6f x.commands.to.configure.VyOS,.yo
4d20 75 20 63 61 6e 20 65 78 65 63 75 74 65 20 63 6f 6d 6d 61 6e 64 73 20 61 6e 64 20 74 68 65 6e 20 u.can.execute.commands.and.then.
4d40 63 6f 6e 66 69 67 75 72 65 20 56 79 4f 53 20 69 6e 20 74 68 65 20 73 61 6d 65 20 73 63 72 69 70 configure.VyOS.in.the.same.scrip
4d60 74 2e 00 49 66 20 79 6f 75 20 77 61 6e 74 20 74 6f 20 73 63 72 69 70 74 20 74 68 65 20 63 6f 6e t..If.you.want.to.script.the.con
4d80 66 69 67 73 20 69 6e 20 61 20 6c 61 6e 67 75 61 67 65 20 6f 74 68 65 72 20 74 68 61 6e 20 62 61 figs.in.a.language.other.than.ba
4da0 73 68 20 79 6f 75 20 63 61 6e 20 68 61 76 65 20 79 6f 75 72 20 73 63 72 69 70 74 20 6f 75 74 70 sh.you.can.have.your.script.outp
4dc0 75 74 20 63 6f 6d 6d 61 6e 64 73 20 61 6e 64 20 74 68 65 6e 20 73 6f 75 72 63 65 20 74 68 65 6d ut.commands.and.then.source.them
4de0 20 69 6e 20 61 20 62 61 73 68 20 73 63 72 69 70 74 2e 00 49 6d 70 6f 72 74 69 6e 67 20 61 6e 64 .in.a.bash.script..Importing.and
4e00 20 44 69 73 61 62 6c 69 6e 67 20 57 61 72 6e 69 6e 67 73 20 66 6f 72 20 76 65 72 69 66 79 3d 46 .Disabling.Warnings.for.verify=F
4e20 61 6c 73 65 00 49 6e 20 50 72 6f 78 6d 6f 78 20 73 65 72 76 65 72 20 74 68 72 65 65 20 66 69 6c alse.In.Proxmox.server.three.fil
4e40 65 73 20 61 72 65 20 67 6f 69 6e 67 20 74 6f 20 62 65 20 75 73 65 64 20 66 6f 72 20 74 68 69 73 es.are.going.to.be.used.for.this
4e60 20 73 65 74 75 70 3a 00 49 6e 20 56 79 4f 53 2c 20 62 79 20 64 65 66 61 75 6c 74 2c 20 65 6e 61 .setup:.In.VyOS,.by.default,.ena
4e80 62 6c 65 73 20 6f 6e 6c 79 20 74 77 6f 20 6d 6f 64 75 6c 65 73 3a 00 49 6e 20 74 68 69 73 20 63 bles.only.two.modules:.In.this.c
4ea0 61 73 65 2c 20 77 65 27 6c 6c 20 63 72 65 61 74 65 20 74 68 65 20 6e 65 63 65 73 73 61 72 79 20 ase,.we'll.create.the.necessary.
4ec0 66 69 6c 65 73 20 66 6f 72 20 54 65 72 72 61 66 6f 72 6d 20 61 6e 64 20 41 6e 73 69 62 6c 65 20 files.for.Terraform.and.Ansible.
4ee0 6e 65 78 74 20 75 73 69 6e 67 20 54 65 72 72 61 66 6f 72 6d 20 77 65 27 6c 6c 20 63 72 65 61 74 next.using.Terraform.we'll.creat
4f00 65 20 61 20 73 69 6e 67 6c 65 20 69 6e 73 74 61 6e 63 65 20 6f 6e 20 74 68 65 20 41 57 53 20 63 e.a.single.instance.on.the.AWS.c
4f20 6c 6f 75 64 20 61 6e 64 20 6d 61 6b 65 20 70 72 6f 76 69 73 69 6f 6e 69 6e 67 20 75 73 69 6e 67 loud.and.make.provisioning.using
4f40 20 41 6e 73 69 62 6c 65 2e 00 49 6e 20 74 68 69 73 20 63 61 73 65 2c 20 77 65 27 6c 6c 20 63 72 .Ansible..In.this.case,.we'll.cr
4f60 65 61 74 65 20 74 68 65 20 6e 65 63 65 73 73 61 72 79 20 66 69 6c 65 73 20 66 6f 72 20 54 65 72 eate.the.necessary.files.for.Ter
4f80 72 61 66 6f 72 6d 20 61 6e 64 20 41 6e 73 69 62 6c 65 20 6e 65 78 74 20 75 73 69 6e 67 20 54 65 raform.and.Ansible.next.using.Te
4fa0 72 72 61 66 6f 72 6d 20 77 65 27 6c 6c 20 63 72 65 61 74 65 20 61 20 73 69 6e 67 6c 65 20 69 6e rraform.we'll.create.a.single.in
4fc0 73 74 61 6e 63 65 20 6f 6e 20 74 68 65 20 41 7a 75 72 65 20 63 6c 6f 75 64 20 61 6e 64 20 6d 61 stance.on.the.Azure.cloud.and.ma
4fe0 6b 65 20 70 72 6f 76 69 73 69 6f 6e 69 6e 67 20 75 73 69 6e 67 20 41 6e 73 69 62 6c 65 2e 00 49 ke.provisioning.using.Ansible..I
5000 6e 20 74 68 69 73 20 63 61 73 65 2c 20 77 65 27 6c 6c 20 63 72 65 61 74 65 20 74 68 65 20 6e 65 n.this.case,.we'll.create.the.ne
5020 63 65 73 73 61 72 79 20 66 69 6c 65 73 20 66 6f 72 20 54 65 72 72 61 66 6f 72 6d 20 61 6e 64 20 cessary.files.for.Terraform.and.
5040 41 6e 73 69 62 6c 65 20 6e 65 78 74 20 75 73 69 6e 67 20 54 65 72 72 61 66 6f 72 6d 20 77 65 27 Ansible.next.using.Terraform.we'
5060 6c 6c 20 63 72 65 61 74 65 20 61 20 73 69 6e 67 6c 65 20 69 6e 73 74 61 6e 63 65 20 6f 6e 20 74 ll.create.a.single.instance.on.t
5080 68 65 20 76 53 70 68 65 72 65 20 63 6c 6f 75 64 20 61 6e 64 20 6d 61 6b 65 20 70 72 6f 76 69 73 he.vSphere.cloud.and.make.provis
50a0 69 6f 6e 69 6e 67 20 75 73 69 6e 67 20 41 6e 73 69 62 6c 65 2e 00 49 6e 20 74 68 69 73 20 6c 61 ioning.using.Ansible..In.this.la
50c0 62 2c 20 61 6c 6c 20 66 69 6c 65 73 20 61 72 65 20 6c 6f 63 61 74 65 64 20 69 6e 20 60 60 2f 74 b,.all.files.are.located.in.``/t
50e0 6d 70 2f 60 60 2e 20 53 6f 2c 20 62 65 66 6f 72 65 20 67 6f 69 6e 67 20 6f 6e 2c 20 6c 65 74 73 mp/``..So,.before.going.on,.lets
5100 20 6d 6f 76 65 20 74 6f 20 74 68 61 74 20 64 69 72 65 63 74 6f 72 79 3a 00 49 6e 20 74 68 69 73 .move.to.that.directory:.In.this
5120 20 6c 61 62 2c 20 77 65 20 61 72 65 20 75 73 69 6e 67 20 31 2e 33 2e 30 20 56 79 4f 53 20 76 65 .lab,.we.are.using.1.3.0.VyOS.ve
5140 72 73 69 6f 6e 20 61 6e 64 20 73 65 74 74 69 6e 67 20 61 20 64 69 73 6b 20 6f 66 20 31 30 47 2e rsion.and.setting.a.disk.of.10G.
5160 20 44 6f 77 6e 6c 6f 61 64 20 56 79 4f 53 20 2e 69 73 6f 20 66 69 6c 65 20 61 6e 64 20 73 61 76 .Download.VyOS..iso.file.and.sav
5180 65 20 69 74 20 61 73 20 60 60 2f 74 6d 70 2f 76 79 6f 73 2e 69 73 6f 60 60 2e 20 43 6f 6d 6d 61 e.it.as.``/tmp/vyos.iso``..Comma
51a0 6e 64 20 75 73 65 64 20 66 6f 72 20 67 65 6e 65 72 61 74 69 6e 67 20 71 63 6f 77 20 69 6d 61 67 nd.used.for.generating.qcow.imag
51c0 65 3a 00 49 6e 69 74 69 61 6c 20 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 00 49 6e 69 74 69 61 6c e:.Initial.Configuration.Initial
51e0 69 7a 69 6e 67 20 61 20 56 79 44 65 76 69 63 65 20 4f 62 6a 65 63 74 00 49 6e 6a 65 63 74 69 6e izing.a.VyDevice.Object.Injectin
5200 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 64 61 74 61 20 69 73 20 6e 6f 74 20 6c 69 6d 69 g.configuration.data.is.not.limi
5220 74 65 64 20 74 6f 20 63 6c 6f 75 64 20 70 6c 61 74 66 6f 72 6d 73 2e 20 55 73 65 72 73 20 63 61 ted.to.cloud.platforms..Users.ca
5240 6e 20 65 6d 70 6c 6f 79 20 74 68 65 20 4e 6f 43 6c 6f 75 64 20 64 61 74 61 20 73 6f 75 72 63 65 n.employ.the.NoCloud.data.source
5260 20 74 6f 20 69 6e 6a 65 63 74 20 75 73 65 72 2d 64 61 74 61 20 61 6e 64 20 6d 65 74 61 2d 64 61 .to.inject.user-data.and.meta-da
5280 74 61 20 6f 6e 20 76 69 72 74 75 61 6c 69 7a 61 74 69 6f 6e 20 70 6c 61 74 66 6f 72 6d 73 20 73 ta.on.virtualization.platforms.s
52a0 75 63 68 20 61 73 20 56 4d 77 61 72 65 2c 20 48 79 70 65 72 2d 56 20 61 6e 64 20 4b 56 4d 2e 00 uch.as.VMware,.Hyper-V.and.KVM..
52c0 49 6e 73 74 61 6c 6c 20 60 60 6e 61 70 61 6c 6d 2d 76 79 6f 73 60 60 20 6d 6f 64 75 6c 65 00 49 Install.``napalm-vyos``.module.I
52e0 6e 73 74 61 6c 6c 61 74 69 6f 6e 00 49 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 63 6f nstallation.It.is.possible.to.co
5300 6e 66 69 67 75 72 65 20 56 79 4f 53 20 76 69 61 20 6e 65 74 6d 69 6b 6f 5f 20 70 72 6f 78 79 20 nfigure.VyOS.via.netmiko_.proxy.
5320 6d 6f 64 75 6c 65 2e 20 49 74 20 72 65 71 75 69 72 65 73 20 61 20 6d 69 6e 69 6f 6e 20 77 69 74 module..It.requires.a.minion.wit
5340 68 20 69 6e 73 74 61 6c 6c 65 64 20 70 61 63 6b 65 74 20 20 60 60 70 79 74 68 6f 6e 33 2d 6e 65 h.installed.packet..``python3-ne
5360 74 6d 69 6b 6f 60 60 20 6d 6f 64 75 6c 65 20 77 68 6f 20 68 61 73 20 61 20 63 6f 6e 6e 65 63 74 tmiko``.module.who.has.a.connect
5380 69 6f 6e 20 74 6f 20 56 79 4f 53 20 6e 6f 64 65 73 2e 20 53 61 6c 74 2d 6d 69 6e 69 6f 6e 20 68 ion.to.VyOS.nodes..Salt-minion.h
53a0 61 76 65 20 74 6f 20 63 6f 6d 6d 75 6e 69 63 61 74 65 20 77 69 74 68 20 73 61 6c 74 20 6d 61 73 ave.to.communicate.with.salt.mas
53c0 74 65 72 00 4d 61 6a 6f 72 20 63 6c 6f 75 64 20 70 72 6f 76 69 64 65 72 73 20 6f 66 66 65 72 20 ter.Major.cloud.providers.offer.
53e0 61 20 6d 65 61 6e 73 20 6f 66 20 70 72 6f 76 69 64 69 6e 67 20 75 73 65 72 2d 64 61 74 61 20 61 a.means.of.providing.user-data.a
5400 74 20 74 68 65 20 74 69 6d 65 20 6f 66 20 69 6e 73 74 61 6e 63 65 20 6c 61 75 6e 63 68 2e 20 49 t.the.time.of.instance.launch..I
5420 74 20 63 61 6e 20 62 65 20 70 72 6f 76 69 64 65 64 20 61 73 20 70 6c 61 69 6e 20 74 65 78 74 20 t.can.be.provided.as.plain.text.
5440 6f 72 20 61 73 20 62 61 73 65 36 34 2d 65 6e 63 6f 64 65 64 20 74 65 78 74 2c 20 64 65 70 65 6e or.as.base64-encoded.text,.depen
5460 64 69 6e 67 20 6f 6e 20 63 6c 6f 75 64 20 70 72 6f 76 69 64 65 72 2e 20 41 6c 73 6f 2c 20 69 74 ding.on.cloud.provider..Also,.it
5480 20 63 61 6e 20 62 65 20 63 6f 6d 70 72 65 73 73 65 64 20 75 73 69 6e 67 20 67 7a 69 70 2c 20 77 .can.be.compressed.using.gzip,.w
54a0 68 69 63 68 20 6d 61 6b 65 73 20 73 65 6e 73 65 20 77 69 74 68 20 61 20 6c 6f 6e 67 20 63 6f 6e hich.makes.sense.with.a.long.con
54c0 66 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 6c 69 73 74 2c 20 62 65 63 61 75 73 figuration.commands.list,.becaus
54e0 65 20 6f 66 20 74 68 65 20 68 61 72 64 20 6c 69 6d 69 74 20 74 6f 20 7e 31 36 33 38 34 20 62 79 e.of.the.hard.limit.to.~16384.by
5500 74 65 73 20 66 6f 72 20 74 68 65 20 77 68 6f 6c 65 20 75 73 65 72 2d 64 61 74 61 2e 00 4d 61 6b tes.for.the.whole.user-data..Mak
5520 65 20 73 75 72 65 20 74 68 61 74 20 41 6e 73 69 62 6c 65 20 69 73 20 70 69 6e 67 69 6e 67 20 66 e.sure.that.Ansible.is.pinging.f
5540 72 6f 6d 20 54 65 72 72 61 66 6f 6d 2e 00 4d 65 74 61 64 61 74 61 20 2d 20 4d 65 74 61 64 61 74 rom.Terrafom..Metadata.-.Metadat
5560 61 20 69 73 20 73 6f 75 72 63 65 64 20 62 79 20 74 68 65 20 63 6c 6f 75 64 20 70 6c 61 74 66 6f a.is.sourced.by.the.cloud.platfo
5580 72 6d 20 6f 72 20 68 79 70 65 72 76 69 73 6f 72 2e 20 49 6e 20 73 6f 6d 65 20 63 6c 6f 75 64 73 rm.or.hypervisor..In.some.clouds
55a0 2c 20 74 68 65 72 65 20 69 73 20 69 6d 70 6c 65 6d 65 6e 74 65 64 20 61 73 20 61 6e 20 48 54 54 ,.there.is.implemented.as.an.HTT
55c0 50 20 65 6e 64 70 6f 69 6e 74 20 61 74 20 60 60 68 74 74 70 3a 2f 2f 31 36 39 2e 32 35 34 2e 31 P.endpoint.at.``http://169.254.1
55e0 36 39 2e 32 35 34 60 60 2e 00 4d 6f 73 74 20 69 6d 70 6f 72 74 61 6e 74 20 6b 65 79 73 20 74 68 69.254``..Most.important.keys.th
5600 61 74 20 6e 65 65 64 73 20 74 6f 20 62 65 20 63 6f 6e 73 69 64 65 72 65 64 3a 00 4e 61 70 61 6c at.needs.to.be.considered:.Napal
5620 6d 00 4e 65 65 64 20 74 6f 20 69 6e 73 74 61 6c 6c 5f 20 54 65 72 72 61 66 6f 72 6d 00 4e 65 74 m.Need.to.install_.Terraform.Net
5640 6d 69 6b 6f 00 4e 65 74 6d 69 6b 6f 2d 70 72 6f 78 79 00 4e 65 74 77 6f 72 6b 20 54 6f 70 6f 6c miko.Netmiko-proxy.Network.Topol
5660 6f 67 79 20 44 69 61 67 72 61 6d 00 4e 65 74 77 6f 72 6b 20 63 6f 6e 66 69 67 75 72 61 74 69 6f ogy.Diagram.Network.configuratio
5680 6e 20 2d 20 54 68 69 73 20 63 6f 6e 66 69 67 20 73 6f 75 72 63 65 20 69 6e 66 6f 72 6d 73 20 74 n.-.This.config.source.informs.t
56a0 68 65 20 73 79 73 74 65 6d 20 61 62 6f 75 74 20 74 68 65 20 6e 65 74 77 6f 72 6b 20 73 65 74 74 he.system.about.the.network.sett
56c0 69 6e 67 73 20 6c 69 6b 65 20 49 50 20 61 64 64 72 65 73 73 65 73 2c 20 72 6f 75 74 65 73 2c 20 ings.like.IP.addresses,.routes,.
56e0 44 4e 53 2e 20 41 76 61 69 6c 61 62 6c 65 20 6f 6e 6c 79 20 69 6e 20 73 65 76 65 72 61 6c 20 63 DNS..Available.only.in.several.c
5700 6c 6f 75 64 20 61 6e 64 20 76 69 72 74 75 61 6c 69 7a 61 74 69 6f 6e 20 70 6c 61 74 66 6f 72 6d loud.and.virtualization.platform
5720 73 2e 00 4e 65 74 77 6f 72 6b 69 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 73 20 73 68 6f s..Networking.configurations.sho
5740 75 6c 64 6e 27 74 20 62 65 20 70 61 73 73 65 64 20 69 6e 20 75 73 65 72 2d 64 61 74 61 20 66 69 uldn't.be.passed.in.user-data.fi
5760 6c 65 2e 00 4e 6f 43 6c 6f 75 64 00 4e 6f 72 6e 69 72 00 4e 6f 74 65 20 74 68 61 74 20 74 68 65 le..NoCloud.Nornir.Note.that.the
5780 20 2f 6f 70 74 2f 76 79 61 74 74 61 2f 65 74 63 2f 63 6f 6e 66 69 67 20 69 73 20 75 73 65 64 20 ./opt/vyatta/etc/config.is.used.
57a0 69 6e 73 74 65 61 64 20 6f 66 20 74 68 65 20 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 74 73 20 64 instead.of.the./config/scripts.d
57c0 69 72 65 63 74 6f 72 79 20 72 65 66 65 72 65 6e 63 65 64 20 69 6e 20 74 68 65 20 3a 72 65 66 3a irectory.referenced.in.the.:ref:
57e0 60 63 6f 6d 6d 61 6e 64 2d 73 63 72 69 70 74 69 6e 67 60 20 73 65 63 74 69 6f 6e 20 6f 66 20 74 `command-scripting`.section.of.t
5800 68 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 62 65 63 61 75 73 65 20 74 68 65 20 2f 63 6f he.documentation.because.the./co
5820 6e 66 69 67 2f 73 63 72 69 70 74 20 64 69 72 65 63 74 6f 72 79 20 69 73 6e 27 74 20 6d 6f 75 6e nfig/script.directory.isn't.moun
5840 74 65 64 20 77 68 65 6e 20 74 68 65 20 60 60 77 72 69 74 65 5f 66 69 6c 65 73 60 60 20 6d 6f 64 ted.when.the.``write_files``.mod
5860 75 6c 65 20 65 78 65 63 75 74 65 73 2e 00 4e 6f 74 65 73 20 66 6f 72 20 74 68 69 73 20 70 61 72 ule.executes..Notes.for.this.par
5880 74 69 63 75 6c 61 72 20 65 78 61 6d 70 6c 65 2c 20 74 68 61 74 20 6d 61 79 20 6e 65 65 64 20 74 ticular.example,.that.may.need.t
58a0 6f 20 62 65 20 6d 6f 64 69 66 69 65 64 20 69 6e 20 6f 74 68 65 72 20 73 65 74 75 70 73 3a 00 4e o.be.modified.in.other.setups:.N
58c0 6f 77 2c 20 74 68 61 74 20 66 69 6c 65 20 6e 65 65 64 73 20 74 6f 20 62 65 20 63 6f 70 69 65 64 ow,.that.file.needs.to.be.copied
58e0 20 74 6f 20 70 72 6f 78 6d 6f 78 20 73 65 72 76 65 72 3a 00 4f 6e 20 56 79 4f 53 20 74 68 69 73 .to.proxmox.server:.On.VyOS.this
5900 20 77 69 6c 6c 20 63 61 75 73 65 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 70 72 6f 62 6c 65 .will.cause.the.following.proble
5920 6d 3a 20 41 66 74 65 72 20 6d 6f 64 69 66 79 69 6e 67 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 m:.After.modifying.the.configura
5940 74 69 6f 6e 20 76 69 61 20 73 63 72 69 70 74 20 6c 69 6b 65 20 74 68 69 73 20 6f 6e 63 65 2c 20 tion.via.script.like.this.once,.
5960 69 74 20 69 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 6d 61 6e 75 61 6c 6c 79 20 6d it.is.not.possible.to.manually.m
5980 6f 64 69 66 79 20 74 68 65 20 63 6f 6e 66 69 67 20 61 6e 79 6d 6f 72 65 3a 00 4f 6e 20 70 72 6f odify.the.config.anymore:.On.pro
59a0 78 6d 6f 78 20 73 65 72 76 65 72 3a 00 4f 6e 63 65 20 74 68 65 20 74 68 72 65 65 20 66 69 6c 65 xmox.server:.Once.the.three.file
59c0 73 20 77 65 72 65 20 63 72 65 61 74 65 64 2c 20 69 74 27 73 20 74 69 6d 65 20 74 6f 20 67 65 6e s.were.created,.it's.time.to.gen
59e0 65 72 61 74 65 20 74 68 65 20 60 60 73 65 65 64 2e 69 73 6f 60 60 20 69 6d 61 67 65 2c 20 77 68 erate.the.``seed.iso``.image,.wh
5a00 69 63 68 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6d 6f 75 6e 74 65 64 20 74 6f 20 74 68 65 20 6e ich.needs.to.be.mounted.to.the.n
5a20 65 77 20 56 4d 20 61 73 20 61 20 63 64 2e 00 4f 6e 65 20 63 6f 6d 6d 61 6e 64 20 70 65 72 20 6c ew.VM.as.a.cd..One.command.per.l
5a40 69 6e 65 2e 00 4f 70 2d 6d 6f 64 65 00 4f 74 68 65 72 20 73 63 72 69 70 74 20 6c 61 6e 67 75 61 ine..Op-mode.Other.script.langua
5a60 67 65 73 00 4f 75 74 70 75 74 00 4f 75 74 70 75 74 20 6f 70 2d 6d 6f 64 65 00 50 6c 65 61 73 65 ges.Output.Output.op-mode.Please
5a80 20 74 61 6b 65 20 61 20 6c 6f 6f 6b 20 61 74 20 74 68 65 20 43 6f 6e 74 72 69 62 75 74 69 6e 67 .take.a.look.at.the.Contributing
5aa0 20 47 75 69 64 65 20 66 6f 72 20 6f 75 72 20 3a 72 65 66 3a 60 64 6f 63 75 6d 65 6e 74 61 74 69 .Guide.for.our.:ref:`documentati
5ac0 6f 6e 60 2e 00 50 6f 73 74 63 6f 6e 66 69 67 20 6f 6e 20 62 6f 6f 74 00 50 6f 77 65 72 20 6f 6e on`..Postconfig.on.boot.Power.on
5ae0 20 56 4d 20 61 6e 64 20 76 65 72 69 66 69 63 61 74 69 6f 6e 73 00 50 72 65 63 6f 6e 66 69 67 20 .VM.and.verifications.Preconfig.
5b00 6f 6e 20 62 6f 6f 74 00 50 72 65 70 61 72 61 74 69 6f 6e 20 73 74 65 70 73 20 66 6f 72 20 64 65 on.boot.Preparation.steps.for.de
5b20 70 6c 6f 79 69 6e 67 20 56 79 4f 53 20 6f 6e 20 41 57 53 00 50 72 65 70 61 72 61 74 69 6f 6e 20 ploying.VyOS.on.AWS.Preparation.
5b40 73 74 65 70 73 20 66 6f 72 20 64 65 70 6c 6f 79 69 6e 67 20 56 79 4f 53 20 6f 6e 20 41 7a 75 72 steps.for.deploying.VyOS.on.Azur
5b60 65 00 50 72 65 70 61 72 61 74 69 6f 6e 20 73 74 65 70 73 20 66 6f 72 20 64 65 70 6c 6f 79 69 6e e.Preparation.steps.for.deployin
5b80 67 20 56 79 4f 53 20 6f 6e 20 76 53 70 68 65 72 65 00 50 72 65 70 61 72 65 20 63 6c 6f 75 64 2d g.VyOS.on.vSphere.Prepare.cloud-
5ba0 69 6e 69 74 20 66 69 6c 65 73 00 50 72 6f 78 6d 6f 78 20 49 50 20 61 64 64 72 65 73 73 3a 20 2a init.files.Proxmox.IP.address:.*
5bc0 2a 31 39 32 2e 31 36 38 2e 30 2e 32 35 33 2f 32 34 2a 2a 00 50 72 6f 78 6d 6f 78 20 60 43 6c 6f *192.168.0.253/24**.Proxmox.`Clo
5be0 75 64 2d 69 6e 69 74 2d 53 75 70 70 6f 72 74 60 5f 2e 00 50 79 56 79 4f 53 00 50 79 56 79 4f 53 ud-init-Support`_..PyVyOS.PyVyOS
5c00 20 69 73 20 61 20 50 79 74 68 6f 6e 20 6c 69 62 72 61 72 79 20 66 6f 72 20 69 6e 74 65 72 61 63 .is.a.Python.library.for.interac
5c20 74 69 6e 67 20 77 69 74 68 20 56 79 4f 53 20 64 65 76 69 63 65 73 20 76 69 61 20 74 68 65 69 72 ting.with.VyOS.devices.via.their
5c40 20 41 50 49 2e 20 54 68 69 73 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 67 75 69 64 65 73 20 .API..This.documentation.guides.
5c60 79 6f 75 20 6f 6e 20 75 73 69 6e 67 20 50 79 56 79 4f 53 20 74 6f 20 6d 61 6e 61 67 65 20 79 6f you.on.using.PyVyOS.to.manage.yo
5c80 75 72 20 56 79 4f 53 20 64 65 76 69 63 65 73 20 70 72 6f 67 72 61 6d 6d 61 74 69 63 61 6c 6c 79 ur.VyOS.devices.programmatically
5ca0 2e 20 54 68 65 20 63 6f 6d 70 6c 65 74 65 20 50 79 56 79 4f 53 20 64 6f 63 75 6d 65 6e 74 61 74 ..The.complete.PyVyOS.documentat
5cc0 69 6f 6e 20 69 73 20 61 76 61 69 6c 61 62 6c 65 20 6f 6e 20 5b 52 65 61 64 20 74 68 65 20 44 6f ion.is.available.on.[Read.the.Do
5ce0 63 73 5d 28 68 74 74 70 73 3a 2f 2f 70 79 76 79 6f 73 2e 72 65 61 64 74 68 65 64 6f 63 73 2e 69 cs](https://pyvyos.readthedocs.i
5d00 6f 2f 65 6e 2f 6c 61 74 65 73 74 2f 29 2c 20 61 6e 64 20 74 68 65 20 6c 69 62 72 61 72 79 20 63 o/en/latest/),.and.the.library.c
5d20 61 6e 20 62 65 20 66 6f 75 6e 64 20 6f 6e 20 5b 47 69 74 48 75 62 5d 28 68 74 74 70 73 3a 2f 2f an.be.found.on.[GitHub](https://
5d40 67 69 74 68 75 62 2e 63 6f 6d 2f 72 6f 62 65 72 74 6f 62 65 72 74 6f 2f 70 79 76 79 6f 73 29 20 github.com/robertoberto/pyvyos).
5d60 61 6e 64 20 5b 50 79 50 49 5d 28 68 74 74 70 73 3a 2f 2f 70 79 70 69 2e 6f 72 67 2f 70 72 6f 6a and.[PyPI](https://pypi.org/proj
5d80 65 63 74 2f 70 79 76 79 6f 73 2f 29 2e 00 52 65 66 65 72 65 6e 63 65 73 00 52 65 6d 6f 76 65 20 ect/pyvyos/)..References.Remove.
5da0 64 65 66 61 75 6c 74 20 64 68 63 70 20 63 6c 69 65 6e 74 20 6f 6e 20 66 69 72 73 74 20 69 6e 74 default.dhcp.client.on.first.int
5dc0 65 72 66 61 63 65 2c 20 61 6e 64 20 6c 6f 61 64 20 6f 74 68 65 72 20 63 6f 6e 66 69 67 75 72 61 erface,.and.load.other.configura
5de0 74 69 6f 6e 20 64 75 72 69 6e 67 20 66 69 72 73 74 20 62 6f 6f 74 2c 20 75 73 69 6e 67 20 63 6c tion.during.first.boot,.using.cl
5e00 6f 75 64 2d 69 6e 69 74 2e 00 52 65 73 65 74 20 4f 62 6a 65 63 74 00 52 75 6e 20 54 65 72 72 61 oud-init..Reset.Object.Run.Terra
5e20 66 6f 72 6d 00 52 75 6e 20 61 6e 73 69 62 6c 65 00 52 75 6e 20 63 6f 6d 6d 61 6e 64 73 20 72 65 form.Run.ansible.Run.commands.re
5e40 6d 6f 74 65 6c 79 00 52 75 6e 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 motely.Run.configuration.command
5e60 73 00 52 75 6e 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 63 6f 6d 6d 61 6e 64 73 00 53 53 48 20 69 s.Run.operational.commands.SSH.i
5e80 73 20 63 6f 6e 66 69 67 75 72 65 64 20 6f 6e 20 70 6f 72 74 20 32 32 2e 00 53 61 6c 74 00 53 61 s.configured.on.port.22..Salt.Sa
5ea0 6c 74 20 6d 61 73 74 65 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 3a 00 53 61 76 65 20 61 20 lt.master.configuration:.Save.a.
5ec0 72 75 6e 6e 69 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 74 6f 20 61 20 66 69 6c 65 2e running.configuration.to.a.file.
5ee0 00 53 61 76 65 20 61 20 72 75 6e 6e 69 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 74 6f .Save.a.running.configuration.to
5f00 20 74 68 65 20 73 74 61 72 74 75 70 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 20 57 68 65 6e .the.startup.configuration..When
5f20 20 79 6f 75 20 64 6f 6e 27 74 20 73 70 65 63 69 66 79 20 74 68 65 20 66 69 6c 65 20 77 68 65 6e .you.don't.specify.the.file.when
5f40 20 73 61 76 69 6e 67 2c 20 69 74 20 73 61 76 65 73 20 74 6f 20 60 60 2f 63 6f 6e 66 69 67 2f 63 .saving,.it.saves.to.``/config/c
5f60 6f 6e 66 69 67 2e 62 6f 6f 74 60 60 2e 00 53 63 72 69 70 74 20 76 79 6f 73 2d 6e 61 70 61 6c 6d onfig.boot``..Script.vyos-napalm
5f80 2e 70 79 00 53 63 72 69 70 74 73 20 61 72 65 20 72 75 6e 20 69 6e 20 61 6c 70 68 61 62 65 74 69 .py.Scripts.are.run.in.alphabeti
5fa0 63 61 6c 20 6f 72 64 65 72 2e 20 54 68 65 69 72 20 6e 61 6d 65 73 20 6d 75 73 74 20 63 6f 6e 73 cal.order..Their.names.must.cons
5fc0 69 73 74 20 65 6e 74 69 72 65 6c 79 20 6f 66 20 41 53 43 49 49 20 75 70 70 65 72 2d 20 61 6e 64 ist.entirely.of.ASCII.upper-.and
5fe0 20 6c 6f 77 65 72 2d 63 61 73 65 20 6c 65 74 74 65 72 73 2c 41 53 43 49 49 20 64 69 67 69 74 73 .lower-case.letters,ASCII.digits
6000 2c 20 41 53 43 49 49 20 75 6e 64 65 72 73 63 6f 72 65 73 2c 20 61 6e 64 20 41 53 43 49 49 20 6d ,.ASCII.underscores,.and.ASCII.m
6020 69 6e 75 73 2d 68 79 70 68 65 6e 73 2e 4e 6f 20 6f 74 68 65 72 20 63 68 61 72 61 63 74 65 72 73 inus-hyphens.No.other.characters
6040 20 61 72 65 20 61 6c 6c 6f 77 65 64 2e 00 53 68 6f 77 20 4f 62 6a 65 63 74 00 53 6f 6d 65 74 69 .are.allowed..Show.Object.Someti
6060 6d 65 73 20 79 6f 75 20 73 69 6d 70 6c 79 20 77 61 6e 27 74 20 74 6f 20 65 78 65 63 75 74 65 20 mes.you.simply.wan't.to.execute.
6080 61 20 62 75 6e 63 68 20 6f 66 20 6f 70 2d 6d 6f 64 65 20 63 6f 6d 6d 61 6e 64 73 20 76 69 61 20 a.bunch.of.op-mode.commands.via.
60a0 53 53 48 20 6f 6e 20 61 20 72 65 6d 6f 74 65 20 56 79 4f 53 20 73 79 73 74 65 6d 2e 00 53 6f 6d SSH.on.a.remote.VyOS.system..Som
60c0 65 74 69 6d 65 73 20 79 6f 75 20 73 69 6d 70 6c 79 20 77 61 6e 74 20 74 6f 20 65 78 65 63 75 74 etimes.you.simply.want.to.execut
60e0 65 20 61 20 62 75 6e 63 68 20 6f 66 20 6f 70 2d 6d 6f 64 65 20 63 6f 6d 6d 61 6e 64 73 20 76 69 e.a.bunch.of.op-mode.commands.vi
6100 61 20 53 53 48 20 6f 6e 20 61 20 72 65 6d 6f 74 65 20 56 79 4f 53 20 73 79 73 74 65 6d 2e 00 53 a.SSH.on.a.remote.VyOS.system..S
6120 6f 75 72 73 65 20 66 69 6c 65 73 20 66 6f 72 20 41 57 53 20 66 72 6f 6d 20 47 49 54 00 53 6f 75 ourse.files.for.AWS.from.GIT.Sou
6140 72 73 65 20 66 69 6c 65 73 20 66 6f 72 20 41 7a 75 72 65 20 66 72 6f 6d 20 47 49 54 00 53 6f 75 rse.files.for.Azure.from.GIT.Sou
6160 72 73 65 20 66 69 6c 65 73 20 66 6f 72 20 76 53 70 68 65 72 65 20 66 72 6f 6d 20 47 49 54 00 53 rse.files.for.vSphere.from.GIT.S
6180 74 61 72 74 00 53 74 61 72 74 20 63 72 65 61 74 69 6e 67 20 61 6e 20 41 57 53 20 69 6e 73 74 61 tart.Start.creating.an.AWS.insta
61a0 6e 63 65 20 61 6e 64 20 63 68 65 63 6b 20 74 68 65 20 72 65 73 75 6c 74 00 53 74 6f 72 61 67 65 nce.and.check.the.result.Storage
61c0 64 20 75 73 65 64 3a 20 76 6f 6c 75 6d 65 20 6c 6f 63 61 6c 2c 20 77 68 69 63 68 20 69 73 20 6d d.used:.volume.local,.which.is.m
61e0 6f 75 6e 74 65 64 20 6f 6e 20 64 69 72 65 63 74 6f 72 79 20 2a 2a 2f 76 61 72 2f 6c 69 62 2f 76 ounted.on.directory.**/var/lib/v
6200 7a 2a 2a 2c 20 61 6e 64 20 63 6f 6e 74 61 69 6e 73 20 61 6c 6c 20 74 79 70 65 20 6f 66 20 63 6f z**,.and.contains.all.type.of.co
6220 6e 74 65 6e 74 2c 20 69 6e 63 6c 75 64 69 6e 67 20 73 6e 69 70 70 65 74 73 2e 00 53 74 72 75 63 ntent,.including.snippets..Struc
6240 74 75 72 65 20 6f 66 20 2f 73 72 76 2f 73 61 6c 74 3a 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 ture.of./srv/salt:.Structure.of.
6260 66 69 6c 65 73 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 files.Structure.of.files.Ansible
6280 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 6f 72 20 .Structure.of.files.Ansible.for.
62a0 41 57 53 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 AWS.Structure.of.files.Ansible.f
62c0 6f 72 20 41 7a 75 72 65 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 or.Azure.Structure.of.files.Ansi
62e0 62 6c 65 20 66 6f 72 20 76 53 70 68 65 72 65 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c ble.for.vSphere.Structure.of.fil
6300 65 73 20 54 65 72 72 61 66 6f 6d 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 54 es.Terrafom.Structure.of.files.T
6320 65 72 72 61 66 6f 6d 20 66 6f 72 20 41 57 53 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c errafom.for.AWS.Structure.of.fil
6340 65 73 20 54 65 72 72 61 66 6f 6d 20 66 6f 72 20 41 7a 75 72 65 00 53 74 72 75 63 74 75 72 65 20 es.Terrafom.for.Azure.Structure.
6360 6f 66 20 66 69 6c 65 73 20 54 65 72 72 61 66 6f 6d 20 66 6f 72 20 76 53 70 68 65 72 65 00 53 74 of.files.Terrafom.for.vSphere.St
6380 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 73 74 61 6e 64 61 72 64 ructure.of.files.in.the.standard
63a0 20 54 65 72 72 61 66 6f 72 6d 20 70 72 6f 6a 65 63 74 3a 00 53 79 73 74 65 6d 20 44 65 66 61 75 .Terraform.project:.System.Defau
63c0 6c 74 73 2f 46 61 6c 6c 62 61 63 6b 73 00 54 65 72 72 61 66 6f 72 6d 00 54 65 72 72 61 66 6f 72 lts/Fallbacks.Terraform.Terrafor
63e0 6d 20 64 6f 65 73 6e 27 74 20 63 6f 6e 6e 65 63 74 20 76 69 61 20 53 53 48 20 74 6f 20 79 6f 75 m.doesn't.connect.via.SSH.to.you
6400 72 20 41 6e 73 69 62 6c 65 20 69 6e 73 74 61 6e 63 65 3a 20 79 6f 75 20 68 61 76 65 20 74 6f 20 r.Ansible.instance:.you.have.to.
6420 63 68 65 63 6b 20 74 68 65 20 63 6f 72 72 65 63 74 20 6c 6f 67 69 6e 20 61 6e 64 20 70 61 73 73 check.the.correct.login.and.pass
6440 77 6f 72 64 20 69 6e 20 74 68 65 20 70 61 72 74 20 6f 66 20 74 68 65 20 66 69 6c 65 20 76 79 6f word.in.the.part.of.the.file.vyo
6460 73 2e 20 74 66 00 54 65 72 72 61 66 6f 72 6d 20 66 6f 72 20 56 79 4f 53 00 54 68 65 20 41 50 49 s..tf.Terraform.for.VyOS.The.API
6480 20 70 75 73 68 65 73 20 65 76 65 72 79 20 72 65 71 75 65 73 74 20 74 6f 20 61 20 73 65 73 73 69 .pushes.every.request.to.a.sessi
64a0 6f 6e 20 61 6e 64 20 63 6f 6d 6d 69 74 20 69 74 2e 20 42 75 74 20 73 6f 6d 65 20 6f 66 20 56 79 on.and.commit.it..But.some.of.Vy
64c0 4f 53 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 6c 69 6b 65 20 44 48 43 50 20 61 6e 64 20 50 50 50 6f OS.components.like.DHCP.and.PPPo
64e0 45 20 53 65 72 76 65 72 73 2c 20 49 50 53 65 63 2c 20 56 58 4c 41 4e 2c 20 61 6e 64 20 6f 74 68 E.Servers,.IPSec,.VXLAN,.and.oth
6500 65 72 20 74 75 6e 6e 65 6c 73 20 72 65 71 75 69 72 65 20 66 75 6c 6c 20 63 6f 6e 66 69 67 75 72 er.tunnels.require.full.configur
6520 61 74 69 6f 6e 20 66 6f 72 20 63 6f 6d 6d 69 74 2e 20 54 68 65 20 65 6e 64 70 6f 69 6e 74 20 77 ation.for.commit..The.endpoint.w
6540 69 6c 6c 20 70 72 6f 63 65 73 73 20 6d 75 6c 74 69 70 6c 65 20 63 6f 6d 6d 61 6e 64 73 20 77 68 ill.process.multiple.commands.wh
6560 65 6e 20 79 6f 75 20 70 61 73 73 20 74 68 65 6d 20 61 73 20 61 20 6c 69 73 74 20 74 6f 20 74 68 en.you.pass.them.as.a.list.to.th
6580 65 20 60 60 64 61 74 61 60 60 20 66 69 65 6c 64 2e 00 54 68 65 20 60 60 2f 63 6f 6e 66 69 67 2f e.``data``.field..The.``/config/
65a0 73 63 72 69 70 74 73 2f 76 79 6f 73 2d 70 6f 73 74 63 6f 6e 66 69 67 2d 62 6f 6f 74 75 70 2e 73 scripts/vyos-postconfig-bootup.s
65c0 63 72 69 70 74 60 60 20 73 63 72 69 70 74 20 69 73 20 63 61 6c 6c 65 64 20 6f 6e 20 62 6f 6f 74 cript``.script.is.called.on.boot
65e0 20 61 66 74 65 72 20 74 68 65 20 56 79 4f 53 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 73 .after.the.VyOS.configuration.is
6600 20 66 75 6c 6c 79 20 61 70 70 6c 69 65 64 2e 00 54 68 65 20 60 60 2f 63 6f 6e 66 69 67 2f 73 63 .fully.applied..The.``/config/sc
6620 72 69 70 74 73 2f 76 79 6f 73 2d 70 72 65 63 6f 6e 66 69 67 2d 62 6f 6f 74 75 70 2e 73 63 72 69 ripts/vyos-preconfig-bootup.scri
6640 70 74 60 60 20 73 63 72 69 70 74 20 69 73 20 63 61 6c 6c 65 64 20 6f 6e 20 62 6f 6f 74 20 62 65 pt``.script.is.called.on.boot.be
6660 66 6f 72 65 20 74 68 65 20 56 79 4f 53 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 64 75 72 69 fore.the.VyOS.configuration.duri
6680 6e 67 20 62 6f 6f 74 20 70 72 6f 63 65 73 73 2e 00 54 68 65 20 60 60 2f 73 68 6f 77 60 60 20 65 ng.boot.process..The.``/show``.e
66a0 6e 64 70 6f 69 6e 74 20 69 73 20 74 6f 20 73 68 6f 77 20 65 76 65 72 79 74 68 69 6e 67 20 69 6e ndpoint.is.to.show.everything.in
66c0 20 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 6d 6f 64 65 2e 00 54 68 65 20 60 60 67 65 6e .the.operational.mode..The.``gen
66e0 65 72 61 74 65 60 60 20 65 6e 64 70 6f 69 6e 74 20 72 75 6e 20 61 20 60 60 67 65 6e 65 72 61 74 erate``.endpoint.run.a.``generat
6700 65 60 60 20 63 6f 6d 6d 61 6e 64 2e 00 54 68 65 20 60 60 72 65 73 65 74 60 60 20 65 6e 64 70 6f e``.command..The.``reset``.endpo
6720 69 6e 74 20 72 75 6e 20 61 20 60 60 72 65 73 65 74 60 60 20 63 6f 6d 6d 61 6e 64 2e 00 54 68 65 int.run.a.``reset``.command..The
6740 20 63 6f 6d 6d 61 6e 64 73 20 6c 69 73 74 20 70 72 6f 64 75 63 65 64 20 62 79 20 74 68 65 20 60 .commands.list.produced.by.the.`
6760 60 73 68 6f 77 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 60 60 20 63 `show.configuration.commands``.c
6780 6f 6d 6d 61 6e 64 20 6f 6e 20 61 20 56 79 4f 53 20 72 6f 75 74 65 72 20 73 68 6f 75 6c 64 20 63 ommand.on.a.VyOS.router.should.c
67a0 6f 6d 70 6c 79 20 77 69 74 68 20 61 6c 6c 20 74 68 65 20 72 65 71 75 69 72 65 6d 65 6e 74 73 2c omply.with.all.the.requirements,
67c0 20 73 6f 20 69 74 20 69 73 20 65 61 73 79 20 74 6f 20 67 65 74 20 61 20 70 72 6f 70 65 72 20 63 .so.it.is.easy.to.get.a.proper.c
67e0 6f 6d 6d 61 6e 64 73 20 6c 69 73 74 20 62 79 20 63 6f 70 79 69 6e 67 20 69 74 20 66 72 6f 6d 20 ommands.list.by.copying.it.from.
6800 61 6e 6f 74 68 65 72 20 72 6f 75 74 65 72 2e 00 54 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f another.router..The.configuratio
6820 6e 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 74 68 65 20 63 6c 6f 75 64 2d 63 6f 6e 66 69 67 20 n.specified.in.the.cloud-config.
6840 64 6f 63 75 6d 65 6e 74 20 6f 76 65 72 77 72 69 74 65 73 20 64 65 66 61 75 6c 74 20 63 6f 6e 66 document.overwrites.default.conf
6860 69 67 75 72 61 74 69 6f 6e 20 76 61 6c 75 65 73 20 61 6e 64 20 76 61 6c 75 65 73 20 63 6f 6e 66 iguration.values.and.values.conf
6880 69 67 75 72 65 64 20 76 69 61 20 4d 65 74 61 64 61 74 61 2e 00 54 68 65 20 64 65 66 61 75 6c 74 igured.via.Metadata..The.default
68a0 20 64 69 72 65 63 74 6f 72 69 65 73 20 77 68 65 72 65 20 79 6f 75 72 20 63 75 73 74 6f 6d 20 53 .directories.where.your.custom.S
68c0 63 72 69 70 74 73 20 73 68 6f 75 6c 64 20 62 65 20 6c 6f 63 61 74 65 64 20 61 72 65 3a 00 54 68 cripts.should.be.located.are:.Th
68e0 65 20 64 65 66 61 75 6c 74 20 66 69 6c 65 20 6c 6f 6f 6b 73 20 6c 69 6b 65 20 74 68 69 73 3a 00 e.default.file.looks.like.this:.
6900 54 68 65 20 65 61 73 69 65 73 74 20 77 61 79 20 74 6f 20 63 6f 6e 66 69 67 75 72 65 20 74 68 65 The.easiest.way.to.configure.the
6920 20 73 79 73 74 65 6d 20 76 69 61 20 75 73 65 72 2d 64 61 74 61 20 69 73 20 74 68 65 20 43 6c 6f .system.via.user-data.is.the.Clo
6940 75 64 2d 63 6f 6e 66 69 67 20 73 79 6e 74 61 78 20 64 65 73 63 72 69 62 65 64 20 62 65 6c 6f 77 ud-config.syntax.described.below
6960 2e 00 54 68 65 20 65 6e 64 70 6f 69 6e 74 20 60 60 2f 63 6f 6e 66 69 67 2d 66 69 6c 65 60 60 20 ..The.endpoint.``/config-file``.
6980 69 73 20 74 6f 20 73 61 76 65 20 6f 72 20 6c 6f 61 64 20 61 20 63 6f 6e 66 69 67 75 72 61 74 69 is.to.save.or.load.a.configurati
69a0 6f 6e 2e 00 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 65 78 61 6d 70 6c 65 20 73 65 74 73 20 74 on..The.following.example.sets.t
69c0 68 65 20 68 6f 73 74 6e 61 6d 65 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 69 6e 73 74 61 6e 63 he.hostname.based.on.the.instanc
69e0 65 20 69 64 65 6e 74 69 66 69 65 72 20 6f 62 74 61 69 6e 65 64 20 66 72 6f 6d 20 74 68 65 20 45 e.identifier.obtained.from.the.E
6a00 43 32 20 6d 65 74 61 64 61 74 61 20 73 65 72 76 69 63 65 2e 00 54 68 65 20 66 6f 6c 6c 6f 77 69 C2.metadata.service..The.followi
6a20 6e 67 20 65 78 61 6d 70 6c 65 20 73 68 6f 77 73 20 68 6f 77 20 74 6f 20 65 78 65 63 75 74 65 20 ng.example.shows.how.to.execute.
6a40 63 6f 6d 6d 61 6e 64 73 20 61 66 74 65 72 20 74 68 65 20 69 6e 69 74 69 61 6c 20 63 6f 6e 66 69 commands.after.the.initial.confi
6a60 67 75 72 61 74 69 6f 6e 2e 00 54 68 65 20 6b 65 79 20 75 73 65 64 20 74 6f 20 64 65 73 69 67 6e guration..The.key.used.to.design
6a80 61 74 65 20 61 20 56 79 4f 53 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 73 20 60 60 76 79 ate.a.VyOS.configuration.is.``vy
6aa0 6f 73 5f 63 6f 6e 66 69 67 5f 63 6f 6d 6d 61 6e 64 73 60 60 2e 20 57 68 61 74 20 66 6f 6c 6c 6f os_config_commands``..What.follo
6ac0 77 73 20 69 73 20 56 79 4f 53 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 75 73 69 6e 67 20 74 ws.is.VyOS.configuration.using.t
6ae0 68 65 20 22 73 65 74 2d 73 74 79 6c 65 22 20 73 79 6e 74 61 78 2e 20 42 6f 74 68 20 22 73 65 74 he."set-style".syntax..Both."set
6b00 22 20 61 6e 64 20 22 64 65 6c 65 74 65 22 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 73 75 70 70 ".and."delete".commands.are.supp
6b20 6f 72 74 65 64 2e 00 54 68 65 20 73 65 65 64 2e 69 73 6f 20 66 69 6c 65 20 63 61 6e 20 62 65 20 orted..The.seed.iso.file.can.be.
6b40 61 74 74 61 63 68 65 64 20 74 6f 20 74 68 65 20 76 69 72 74 75 61 6c 20 6d 61 63 68 69 6e 65 2e attached.to.the.virtual.machine.
6b60 20 41 73 20 61 6e 20 65 78 61 6d 70 6c 65 2c 20 74 68 65 20 6d 65 74 68 6f 64 20 77 69 74 68 20 .As.an.example,.the.method.with.
6b80 4b 56 4d 20 74 6f 20 61 74 74 61 63 68 20 74 68 65 20 49 53 4f 20 61 73 20 61 20 43 44 20 64 72 KVM.to.attach.the.ISO.as.a.CD.dr
6ba0 69 76 65 20 66 6f 6c 6c 6f 77 73 2e 00 54 68 65 72 65 20 69 73 20 61 20 70 69 74 66 61 6c 6c 20 ive.follows..There.is.a.pitfall.
6bc0 77 68 65 6e 20 77 6f 72 6b 69 6e 67 20 77 69 74 68 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 when.working.with.configuration.
6be0 73 63 72 69 70 74 73 2e 20 49 74 20 69 73 20 74 65 6d 70 74 69 6e 67 20 74 6f 20 63 61 6c 6c 20 scripts..It.is.tempting.to.call.
6c00 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 73 63 72 69 70 74 73 20 77 69 74 68 20 22 73 75 64 6f configuration.scripts.with."sudo
6c20 22 20 28 69 2e 65 2e 2c 20 74 65 6d 70 6f 72 61 72 79 20 72 6f 6f 74 20 70 65 72 6d 69 73 73 69 ".(i.e.,.temporary.root.permissi
6c40 6f 6e 73 29 2c 20 62 65 63 61 75 73 65 20 74 68 61 74 27 73 20 74 68 65 20 63 6f 6d 6d 6f 6e 20 ons),.because.that's.the.common.
6c60 77 61 79 20 6f 6e 20 6d 6f 73 74 20 4c 69 6e 75 78 20 70 6c 61 74 66 6f 72 6d 73 20 74 6f 20 63 way.on.most.Linux.platforms.to.c
6c80 61 6c 6c 20 73 79 73 74 65 6d 20 63 6f 6d 6d 61 6e 64 73 2e 00 54 68 65 73 65 20 61 72 65 20 74 all.system.commands..These.are.t
6ca0 68 65 20 56 79 4f 53 20 64 65 66 61 75 6c 74 73 20 61 6e 64 20 66 61 6c 6c 62 61 63 6b 73 2e 00 he.VyOS.defaults.and.fallbacks..
6cc0 54 68 69 73 20 73 65 63 74 69 6f 6e 20 6e 65 65 64 73 20 69 6d 70 72 6f 76 65 6d 65 6e 74 73 2c This.section.needs.improvements,
6ce0 20 65 78 61 6d 70 6c 65 73 20 61 6e 64 20 65 78 70 6c 61 6e 61 74 69 6f 6e 73 2e 00 54 68 69 73 .examples.and.explanations..This
6d00 20 77 69 6c 6c 20 72 65 73 75 6c 74 20 69 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 65 72 .will.result.in.the.following.er
6d20 72 6f 72 20 6d 65 73 73 61 67 65 3a 20 60 60 53 65 74 20 66 61 69 6c 65 64 60 60 20 49 66 20 74 ror.message:.``Set.failed``.If.t
6d40 68 69 73 20 68 61 70 70 65 6e 73 2c 20 61 20 72 65 62 6f 6f 74 20 69 73 20 72 65 71 75 69 72 65 his.happens,.a.reboot.is.require
6d60 64 20 74 6f 20 62 65 20 61 62 6c 65 20 74 6f 20 65 64 69 74 20 74 68 65 20 63 6f 6e 66 69 67 20 d.to.be.able.to.edit.the.config.
6d80 6d 61 6e 75 61 6c 6c 79 20 61 67 61 69 6e 2e 00 54 6f 20 4c 6f 61 64 20 61 20 63 6f 6e 66 69 67 manually.again..To.Load.a.config
6da0 75 72 61 74 69 6f 6e 20 66 69 6c 65 2e 00 54 6f 20 61 64 64 20 6f 72 20 64 65 6c 65 74 65 20 61 uration.file..To.add.or.delete.a
6dc0 6e 20 69 6d 61 67 65 2c 20 75 73 65 20 74 68 65 20 60 60 2f 69 6d 61 67 65 60 60 20 65 6e 64 70 n.image,.use.the.``/image``.endp
6de0 6f 69 6e 74 2e 00 54 6f 20 61 76 6f 69 64 20 74 68 65 73 65 20 70 72 6f 62 6c 65 6d 73 2c 20 74 oint..To.avoid.these.problems,.t
6e00 68 65 20 70 72 6f 70 65 72 20 77 61 79 20 69 73 20 74 6f 20 63 61 6c 6c 20 61 20 73 63 72 69 70 he.proper.way.is.to.call.a.scrip
6e20 74 20 77 69 74 68 20 74 68 65 20 60 60 76 79 61 74 74 61 63 66 67 60 60 20 67 72 6f 75 70 2c 20 t.with.the.``vyattacfg``.group,.
6e40 65 2e 67 2e 2c 20 62 79 20 75 73 69 6e 67 20 74 68 65 20 60 60 73 67 60 60 20 28 73 77 69 74 63 e.g.,.by.using.the.``sg``.(switc
6e60 68 20 67 72 6f 75 70 29 20 63 6f 6d 6d 61 6e 64 3a 00 54 6f 20 63 68 65 63 6b 20 65 78 69 73 74 h.group).command:.To.check.exist
6e80 65 6e 63 65 20 6f 66 20 61 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 70 61 74 68 2c 20 75 73 ence.of.a.configuration.path,.us
6ea0 65 20 74 68 65 20 60 60 65 78 69 73 74 73 60 60 20 6f 70 65 72 61 74 69 6f 6e 2e 00 54 6f 20 67 e.the.``exists``.operation..To.g
6ec0 65 74 20 74 68 65 20 77 68 6f 6c 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 20 70 61 73 73 et.the.whole.configuration,.pass
6ee0 20 61 6e 20 65 6d 70 74 79 20 6c 69 73 74 20 74 6f 20 74 68 65 20 60 60 70 61 74 68 60 60 20 66 .an.empty.list.to.the.``path``.f
6f00 69 65 6c 64 00 54 6f 20 69 6e 63 6c 75 64 65 20 56 79 4f 53 20 73 70 65 63 69 66 69 63 20 66 75 ield.To.include.VyOS.specific.fu
6f20 6e 63 74 69 6f 6e 73 20 61 6e 64 20 61 6c 69 61 73 65 73 20 79 6f 75 20 6e 65 65 64 20 74 6f 20 nctions.and.aliases.you.need.to.
6f40 60 60 73 6f 75 72 63 65 20 2f 6f 70 74 2f 76 79 61 74 74 61 2f 65 74 63 2f 66 75 6e 63 74 69 6f ``source./opt/vyatta/etc/functio
6f60 6e 73 2f 73 63 72 69 70 74 2d 74 65 6d 70 6c 61 74 65 60 60 20 66 69 6c 65 73 20 61 74 20 74 68 ns/script-template``.files.at.th
6f80 65 20 74 6f 70 20 6f 66 20 79 6f 75 72 20 73 63 72 69 70 74 2e 00 54 6f 20 69 6e 69 74 69 61 74 e.top.of.your.script..To.initiat
6fa0 65 20 61 20 72 65 62 6f 6f 74 20 75 73 65 20 74 68 65 20 60 60 72 65 62 6f 6f 74 60 60 20 65 6e e.a.reboot.use.the.``reboot``.en
6fc0 64 70 6f 69 6e 74 2e 00 54 6f 20 6d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 61 20 73 63 72 69 dpoint..To.make.sure.that.a.scri
6fe0 70 74 20 69 73 20 6e 6f 74 20 61 63 63 69 64 65 6e 74 61 6c 6c 79 20 63 61 6c 6c 65 64 20 77 69 pt.is.not.accidentally.called.wi
7000 74 68 6f 75 74 20 74 68 65 20 60 60 76 79 61 74 74 61 63 66 67 60 60 20 67 72 6f 75 70 2c 20 74 thout.the.``vyattacfg``.group,.t
7020 68 65 20 73 63 72 69 70 74 20 63 61 6e 20 62 65 20 73 61 66 65 67 75 61 72 64 65 64 20 6c 69 6b he.script.can.be.safeguarded.lik
7040 65 20 74 68 69 73 3a 00 54 6f 20 6f 6e 6c 79 20 67 65 74 20 61 20 70 61 72 74 20 6f 66 20 74 68 e.this:.To.only.get.a.part.of.th
7060 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 60 60 73 e.configuration,.for.example.``s
7080 79 73 74 65 6d 20 73 79 73 6c 6f 67 60 60 2e 00 54 6f 20 70 6f 77 65 72 20 6f 66 66 20 74 68 65 ystem.syslog``..To.power.off.the
70a0 20 73 79 73 74 65 6d 20 75 73 65 20 74 68 65 20 60 60 70 6f 77 65 72 6f 66 66 60 60 20 65 6e 64 .system.use.the.``poweroff``.end
70c0 70 6f 69 6e 74 2e 00 54 72 6f 75 62 6c 65 73 68 6f 6f 74 69 6e 67 00 54 79 70 65 20 74 68 65 20 point..Troubleshooting.Type.the.
70e0 63 6f 6d 6d 61 6e 64 73 20 6f 6e 20 79 6f 75 72 20 54 65 72 72 61 66 6f 6d 20 69 6e 73 74 61 6e commands.on.your.Terrafom.instan
7100 63 65 3a 00 55 6e 6c 69 6b 65 20 61 20 6e 6f 72 6d 61 6c 20 63 6f 6e 66 69 67 75 72 61 74 69 6f ce:.Unlike.a.normal.configuratio
7120 6e 20 73 65 73 73 69 6f 6e 2c 20 61 6c 6c 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 63 6f 6d 6d 61 n.session,.all.operational.comma
7140 6e 64 73 20 6d 75 73 74 20 62 65 20 70 72 65 70 65 6e 64 65 64 20 77 69 74 68 20 60 60 72 75 6e nds.must.be.prepended.with.``run
7160 60 60 2c 20 65 76 65 6e 20 69 66 20 79 6f 75 20 68 61 76 65 6e 27 74 20 63 72 65 61 74 65 64 20 ``,.even.if.you.haven't.created.
7180 61 20 73 65 73 73 69 6f 6e 20 77 69 74 68 20 63 6f 6e 66 69 67 75 72 65 2e 00 55 73 65 72 2d 64 a.session.with.configure..User-d
71a0 61 74 61 00 55 73 65 72 2d 64 61 74 61 20 2d 20 55 73 65 72 2d 64 61 74 61 20 69 73 20 73 70 65 ata.User-data.-.User-data.is.spe
71c0 63 69 66 69 65 64 20 62 79 20 74 68 65 20 75 73 65 72 2e 20 54 68 69 73 20 63 6f 6e 66 69 67 20 cified.by.the.user..This.config.
71e0 73 6f 75 72 63 65 20 6f 66 66 65 72 73 20 74 68 65 20 61 62 69 6c 69 74 79 20 74 6f 20 69 6e 73 source.offers.the.ability.to.ins
7200 65 72 74 20 61 6e 79 20 43 4c 49 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e ert.any.CLI.configuration.comman
7220 64 73 20 69 6e 74 6f 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 62 65 66 6f 72 65 ds.into.the.configuration.before
7240 20 20 20 74 68 65 20 66 69 72 73 74 20 62 6f 6f 74 2e 00 55 73 65 72 2d 64 61 74 61 20 2d 20 55 ...the.first.boot..User-data.-.U
7260 73 65 72 2d 64 61 74 61 20 69 73 20 73 70 65 63 69 66 69 65 64 20 62 79 20 74 68 65 20 75 73 65 ser-data.is.specified.by.the.use
7280 72 2e 20 54 68 69 73 20 63 6f 6e 66 69 67 20 73 6f 75 72 63 65 20 6f 66 66 65 72 73 20 74 68 65 r..This.config.source.offers.the
72a0 20 61 62 69 6c 69 74 79 20 74 6f 20 69 6e 73 65 72 74 20 61 6e 79 20 43 4c 49 20 63 6f 6e 66 69 .ability.to.insert.any.CLI.confi
72c0 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 69 6e 74 6f 20 74 68 65 20 63 6f 6e 66 69 guration.commands.into.the.confi
72e0 67 75 72 61 74 69 6f 6e 20 62 65 66 6f 72 65 20 74 68 65 20 66 69 72 73 74 20 62 6f 6f 74 2e 00 guration.before.the.first.boot..
7300 55 73 69 6e 67 20 41 50 49 20 52 65 73 70 6f 6e 73 65 20 43 6c 61 73 73 00 55 73 69 6e 67 20 50 Using.API.Response.Class.Using.P
7320 79 56 79 4f 53 00 55 73 69 6e 67 20 70 79 76 79 6f 73 00 56 4d 20 49 44 3a 20 69 6e 20 74 68 69 yVyOS.Using.pyvyos.VM.ID:.in.thi
7340 73 20 65 78 61 6d 70 6c 65 2c 20 56 4d 20 49 44 20 75 73 65 64 20 69 73 20 35 35 35 2e 00 56 4d s.example,.VM.ID.used.is.555..VM
7360 20 52 65 73 6f 75 72 63 65 73 3a 20 74 68 65 73 65 20 70 61 72 61 6d 65 74 65 72 73 20 63 61 6e .Resources:.these.parameters.can
7380 20 62 65 20 6d 6f 64 69 66 69 65 64 20 61 73 20 6e 65 65 64 65 64 2e 00 56 4d 20 53 74 6f 72 61 .be.modified.as.needed..VM.Stora
73a0 67 65 3a 20 60 60 6c 6f 63 61 6c 60 60 20 76 6f 6c 75 6d 65 20 69 73 20 75 73 65 64 2e 00 56 73 ge:.``local``.volume.is.used..Vs
73c0 70 68 65 72 65 00 56 79 4f 53 20 41 50 49 00 56 79 4f 53 20 41 75 74 6f 6d 61 74 69 6f 6e 00 56 phere.VyOS.API.VyOS.Automation.V
73e0 79 4f 53 20 54 65 72 72 61 66 6f 72 6d 00 56 79 4f 53 20 60 63 6c 6f 75 64 2d 69 6e 69 74 2d 64 yOS.Terraform.VyOS.`cloud-init-d
7400 6f 63 73 60 5f 2e 00 56 79 4f 53 20 63 6c 6f 75 64 2d 69 6e 69 74 00 56 79 4f 53 20 63 6f 6e 66 ocs`_..VyOS.cloud-init.VyOS.conf
7420 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 64 65 66 69 6e 65 64 20 69 iguration.commands.are.defined.i
7440 6e 20 75 73 65 72 2d 64 61 74 61 20 66 69 6c 65 2e 00 56 79 4f 53 20 68 61 73 20 74 68 65 20 61 n.user-data.file..VyOS.has.the.a
7460 62 69 6c 69 74 79 20 74 6f 20 72 75 6e 20 63 75 73 74 6f 6d 20 20 73 63 72 69 70 74 73 20 62 65 bility.to.run.custom..scripts.be
7480 66 6f 72 65 20 61 6e 64 20 61 66 74 65 72 20 65 61 63 68 20 63 6f 6d 6d 69 74 00 56 79 4f 53 20 fore.and.after.each.commit.VyOS.
74a0 73 75 70 70 6f 72 74 20 74 68 72 65 65 20 74 79 70 65 73 20 6f 66 20 63 6f 6e 66 69 67 20 73 6f support.three.types.of.config.so
74c0 75 72 63 65 73 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 63 6f 6e 66 69 67 75 72 61 74 69 urces..VyOS.supports.configurati
74e0 6f 6e 20 76 69 61 20 61 6e 73 69 62 6c 65 2e 20 4e 65 65 64 20 74 6f 20 69 6e 73 74 61 6c 6c 20 on.via.ansible..Need.to.install.
7500 60 60 61 6e 73 69 62 6c 65 60 60 20 61 6e 64 20 60 60 70 79 74 68 6f 6e 33 2d 70 61 72 61 6d 69 ``ansible``.and.``python3-parami
7520 6b 6f 60 60 20 6d 6f 64 75 6c 65 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 63 6f 6e 66 69 67 ko``.module.VyOS.supports.config
7540 75 72 61 74 69 6f 6e 20 76 69 61 20 6e 65 74 6d 69 6b 6f 5f 2e 20 49 74 20 72 65 71 75 69 72 65 uration.via.netmiko_..It.require
7560 73 20 74 6f 20 69 6e 73 74 61 6c 6c 20 60 60 70 79 74 68 6f 6e 33 2d 6e 65 74 6d 69 6b 6f 60 60 s.to.install.``python3-netmiko``
7580 20 6d 6f 64 75 6c 65 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 64 65 76 65 6c 6f 70 20 69 .module..VyOS.supports.develop.i
75a0 6e 66 72 61 73 74 72 75 63 74 69 61 20 76 69 61 20 54 65 72 72 61 66 6f 72 6d 20 61 6e 64 20 70 nfrastructia.via.Terraform.and.p
75c0 72 6f 76 69 73 69 6f 6e 69 6e 67 20 76 69 61 20 61 6e 73 69 62 6c 65 2e 20 4e 65 65 64 20 74 6f rovisioning.via.ansible..Need.to
75e0 20 69 6e 73 74 61 6c 6c 20 60 60 54 65 72 72 61 66 6f 72 6d 60 60 00 56 79 4f 53 20 73 75 70 70 .install.``Terraform``.VyOS.supp
7600 6f 72 74 73 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 orts.development.infrastructure.
7620 76 69 61 20 54 65 72 72 61 66 6f 72 6d 20 61 6e 64 20 70 72 6f 76 69 73 69 6f 6e 69 6e 67 20 76 via.Terraform.and.provisioning.v
7640 69 61 20 41 6e 73 69 62 6c 65 2e 20 54 65 72 72 61 66 6f 72 6d 20 61 6c 6c 6f 77 73 20 79 6f 75 ia.Ansible..Terraform.allows.you
7660 20 74 6f 20 61 75 74 6f 6d 61 74 65 20 74 68 65 20 70 72 6f 63 65 73 73 20 6f 66 20 64 65 70 6c .to.automate.the.process.of.depl
7680 6f 79 69 6e 67 20 69 6e 73 74 61 6e 63 65 73 20 6f 6e 20 6d 61 6e 79 20 63 6c 6f 75 64 20 61 6e oying.instances.on.many.cloud.an
76a0 64 20 76 69 72 74 75 61 6c 20 70 6c 61 74 66 6f 72 6d 73 2e 20 49 6e 20 74 68 69 73 20 61 72 74 d.virtual.platforms..In.this.art
76c0 69 63 6c 65 2c 20 77 65 20 77 69 6c 6c 20 6c 6f 6f 6b 20 61 74 20 75 73 69 6e 67 20 74 65 72 72 icle,.we.will.look.at.using.terr
76e0 61 66 6f 72 6d 73 20 74 6f 20 64 65 70 6c 6f 79 20 56 79 4f 53 20 6f 6e 20 70 6c 61 74 66 6f 72 aforms.to.deploy.VyOS.on.platfor
7700 6d 73 20 2d 20 41 57 53 2c 20 41 7a 75 72 65 2c 20 61 6e 64 20 76 53 70 68 65 72 65 2e 20 46 6f ms.-.AWS,.Azure,.and.vSphere..Fo
7720 72 20 6d 6f 72 65 20 64 65 74 61 69 6c 73 20 61 62 6f 75 74 20 54 65 72 72 61 66 6f 72 6d 20 70 r.more.details.about.Terraform.p
7740 6c 65 61 73 65 20 68 61 76 65 20 61 20 6c 6f 6f 6b 20 68 65 72 65 20 6c 69 6e 6b 5f 2e 00 56 79 lease.have.a.look.here.link_..Vy
7760 4f 53 20 73 75 70 70 6f 72 74 73 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 69 6e 66 72 61 73 74 72 OS.supports.development.infrastr
7780 75 63 74 75 72 65 20 76 69 61 20 54 65 72 72 61 66 6f 72 6d 20 61 6e 64 20 70 72 6f 76 69 73 69 ucture.via.Terraform.and.provisi
77a0 6f 6e 69 6e 67 20 76 69 61 20 41 6e 73 69 62 6c 65 2e 20 54 65 72 72 61 66 6f 72 6d 20 61 6c 6c oning.via.Ansible..Terraform.all
77c0 6f 77 73 20 79 6f 75 20 74 6f 20 61 75 74 6f 6d 61 74 65 20 74 68 65 20 70 72 6f 63 65 73 73 20 ows.you.to.automate.the.process.
77e0 6f 66 20 64 65 70 6c 6f 79 69 6e 67 20 69 6e 73 74 61 6e 63 65 73 20 6f 6e 20 6d 61 6e 79 20 63 of.deploying.instances.on.many.c
7800 6c 6f 75 64 20 61 6e 64 20 76 69 72 74 75 61 6c 20 70 6c 61 74 66 6f 72 6d 73 2e 20 49 6e 20 74 loud.and.virtual.platforms..In.t
7820 68 69 73 20 61 72 74 69 63 6c 65 2c 20 77 65 20 77 69 6c 6c 20 6c 6f 6f 6b 20 61 74 20 75 73 69 his.article,.we.will.look.at.usi
7840 6e 67 20 74 65 72 72 61 66 6f 72 6d 73 20 74 6f 20 64 65 70 6c 6f 79 20 76 79 6f 73 20 6f 6e 20 ng.terraforms.to.deploy.vyos.on.
7860 70 6c 61 74 66 6f 72 6d 73 20 2d 20 41 57 53 2c 20 41 5a 55 52 45 2c 20 61 6e 64 20 76 53 70 68 platforms.-.AWS,.AZURE,.and.vSph
7880 65 72 65 2e 20 4d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 61 62 6f 75 74 20 77 68 61 74 20 69 73 ere..More.detailed.about.what.is
78a0 20 54 65 72 72 61 66 6f 72 6d 20 79 6f 75 20 63 61 6e 20 77 72 69 74 65 20 75 73 69 6e 67 20 74 .Terraform.you.can.write.using.t
78c0 68 65 20 6c 69 6e 6b 5f 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 65 78 65 63 75 74 69 6e he.link_..VyOS.supports.executin
78e0 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 6e 64 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 g.configuration.and.operational.
7900 63 6f 6d 6d 61 6e 64 73 20 6e 6f 6e 2d 69 6e 74 65 72 61 63 74 69 76 65 6c 79 20 66 72 6f 6d 20 commands.non-interactively.from.
7920 73 68 65 6c 6c 20 73 63 72 69 70 74 73 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 6f 70 2d shell.scripts..VyOS.supports.op-
7940 6d 6f 64 65 20 61 6e 64 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 76 69 61 20 73 61 6c 74 5f mode.and.configuration.via.salt_
7960 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 73 6f 6d 65 20 6e 61 70 61 6c 6d 5f 20 66 75 6e ..VyOS.supports.some.napalm_.fun
7980 63 74 69 6f 6e 73 20 66 6f 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 6e 64 20 6f 70 2d ctions.for.configuration.and.op-
79a0 6d 6f 64 65 2e 20 49 74 20 72 65 71 75 69 72 65 73 20 6d 6f 72 65 20 74 65 73 74 73 2e 00 56 79 mode..It.requires.more.tests..Vy
79c0 4f 53 20 73 75 70 70 6f 72 74 73 20 74 68 65 20 65 78 65 63 75 74 69 6f 6e 20 6f 66 20 6f 70 65 OS.supports.the.execution.of.ope
79e0 72 61 74 69 6f 6e 61 6c 20 63 6f 6d 6d 61 6e 64 73 20 61 6e 64 20 6c 69 6e 75 78 20 63 6f 6d 6d rational.commands.and.linux.comm
7a00 61 6e 64 73 20 61 74 20 69 6e 69 74 69 61 6c 20 62 6f 6f 74 2e 20 54 68 69 73 20 69 73 20 61 63 ands.at.initial.boot..This.is.ac
7a20 63 6f 6d 70 6c 69 73 68 65 64 20 75 73 69 6e 67 20 60 60 77 72 69 74 65 5f 66 69 6c 65 73 60 60 complished.using.``write_files``
7a40 20 74 6f 20 63 65 72 74 61 69 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 2f 6f 70 74 2f 76 79 .to.certain.files.in.the./opt/vy
7a60 61 74 74 61 2f 65 74 63 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 74 73 20 64 69 72 65 63 74 6f 72 atta/etc/config/scripts.director
7a80 79 2e 20 43 6f 6d 6d 61 6e 64 73 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 6f 70 74 2f 76 79 61 y..Commands.specified.in.opt/vya
7aa0 74 74 61 2f 65 74 63 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 74 73 2f 76 79 6f 73 2d 70 72 65 63 tta/etc/config/scripts/vyos-prec
7ac0 6f 6e 66 69 67 2d 62 6f 6f 74 75 70 2e 73 63 72 69 70 74 20 61 72 65 20 65 78 65 63 75 74 65 64 onfig-bootup.script.are.executed
7ae0 20 70 72 69 6f 72 20 74 6f 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 20 54 68 65 20 2f 6f 70 .prior.to.configuration..The./op
7b00 74 2f 76 79 61 74 74 61 2f 65 74 63 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 74 73 2f 76 79 6f 73 t/vyatta/etc/config/scripts/vyos
7b20 2d 70 6f 73 74 63 6f 6e 66 69 67 2d 62 6f 6f 74 75 70 2e 73 63 72 69 70 74 20 66 69 6c 65 20 63 -postconfig-bootup.script.file.c
7b40 6f 6e 74 61 69 6e 73 20 63 6f 6d 6d 61 6e 64 73 20 74 6f 20 62 65 20 65 78 65 63 75 74 65 64 20 ontains.commands.to.be.executed.
7b60 61 66 74 65 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 20 49 6e 20 62 6f 74 68 20 63 61 73 after.configuration..In.both.cas
7b80 65 73 2c 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 65 78 65 63 75 74 65 64 20 61 73 20 74 68 65 es,.commands.are.executed.as.the
7ba0 20 72 6f 6f 74 20 75 73 65 72 2e 00 57 65 20 6e 65 65 64 20 32 20 66 69 6c 65 73 2c 20 63 6f 6d .root.user..We.need.2.files,.com
7bc0 6d 61 6e 64 73 2e 63 6f 6e 66 20 61 6e 64 20 73 63 72 69 70 74 20 69 74 73 65 6c 66 2e 00 57 68 mands.conf.and.script.itself..Wh
7be0 69 6c 65 20 6f 74 68 65 72 20 6d 65 74 68 6f 64 73 20 65 78 69 73 74 2c 20 74 68 65 20 6d 6f 73 ile.other.methods.exist,.the.mos
7c00 74 20 73 74 72 61 69 67 68 74 66 6f 72 77 61 72 64 20 6d 65 74 68 6f 64 20 66 6f 72 20 75 73 69 t.straightforward.method.for.usi
7c20 6e 67 20 74 68 65 20 4e 6f 43 6c 6f 75 64 20 64 61 74 61 20 73 6f 75 72 63 65 20 69 73 20 63 72 ng.the.NoCloud.data.source.is.cr
7c40 65 61 74 69 6e 67 20 61 20 73 65 65 64 20 49 53 4f 20 61 6e 64 20 61 74 74 61 63 68 69 6e 67 20 eating.a.seed.ISO.and.attaching.
7c60 69 74 20 74 6f 20 74 68 65 20 76 69 72 74 75 61 6c 20 6d 61 63 68 69 6e 65 20 61 73 20 61 20 43 it.to.the.virtual.machine.as.a.C
7c80 44 20 64 72 69 76 65 2e 20 54 68 65 20 76 6f 6c 75 6d 65 20 6d 75 73 74 20 62 65 20 66 6f 72 6d D.drive..The.volume.must.be.form
7ca0 61 74 74 65 64 20 61 73 20 61 20 76 66 61 74 20 6f 72 20 49 53 4f 20 39 36 36 30 20 66 69 6c 65 atted.as.a.vfat.or.ISO.9660.file
7cc0 20 73 79 73 74 65 6d 20 77 69 74 68 20 74 68 65 20 6c 61 62 65 6c 20 22 63 69 64 61 74 61 22 20 .system.with.the.label."cidata".
7ce0 6f 72 20 22 43 49 44 41 54 41 22 2e 00 57 69 6c 6c 20 72 65 74 75 72 6e 3a 00 57 69 74 68 20 74 or."CIDATA"..Will.return:.With.t
7d00 68 65 20 60 60 72 65 74 72 69 65 76 65 60 60 20 65 6e 64 70 6f 69 6e 74 20 79 6f 75 20 67 65 74 he.``retrieve``.endpoint.you.get
7d20 20 70 61 72 74 73 20 6f 72 20 74 68 65 20 77 68 6f 6c 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f .parts.or.the.whole.configuratio
7d40 6e 2e 00 57 69 74 68 20 74 68 65 20 68 65 6c 70 20 6f 66 20 54 65 72 72 61 66 6f 72 6d 2c 20 79 n..With.the.help.of.Terraform,.y
7d60 6f 75 20 63 61 6e 20 71 75 69 63 6b 6c 79 20 64 65 70 6c 6f 79 20 56 79 4f 53 2d 62 61 73 65 64 ou.can.quickly.deploy.VyOS-based
7d80 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 69 6e 20 74 68 65 20 41 57 53 20 63 6c 6f 75 64 .infrastructure.in.the.AWS.cloud
7da0 2e 20 49 66 20 6e 65 63 65 73 73 61 72 79 2c 20 74 68 65 20 69 6e 66 72 61 73 74 72 75 63 74 75 ..If.necessary,.the.infrastructu
7dc0 72 65 20 63 61 6e 20 62 65 20 72 65 6d 6f 76 65 64 20 75 73 69 6e 67 20 74 65 72 72 61 66 6f 72 re.can.be.removed.using.terrafor
7de0 6d 2e 20 41 6c 73 6f 20 77 65 20 77 69 6c 6c 20 6d 61 6b 65 20 70 72 6f 76 69 73 69 6f 6e 69 6e m..Also.we.will.make.provisionin
7e00 67 20 75 73 69 6e 67 20 41 6e 73 69 62 6c 65 2e 00 57 69 74 68 20 74 68 65 20 68 65 6c 70 20 6f g.using.Ansible..With.the.help.o
7e20 66 20 54 65 72 72 61 66 6f 72 6d 2c 20 79 6f 75 20 63 61 6e 20 71 75 69 63 6b 6c 79 20 64 65 70 f.Terraform,.you.can.quickly.dep
7e40 6c 6f 79 20 56 79 4f 53 2d 62 61 73 65 64 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 69 6e loy.VyOS-based.infrastructure.in
7e60 20 74 68 65 20 41 7a 75 72 65 20 63 6c 6f 75 64 2e 20 49 66 20 6e 65 63 65 73 73 61 72 79 2c 20 .the.Azure.cloud..If.necessary,.
7e80 74 68 65 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 63 61 6e 20 62 65 20 72 65 6d 6f 76 65 the.infrastructure.can.be.remove
7ea0 64 20 75 73 69 6e 67 20 74 65 72 72 61 66 6f 72 6d 2e 20 41 6c 73 6f 20 77 65 20 77 69 6c 6c 20 d.using.terraform..Also.we.will.
7ec0 6d 61 6b 65 20 70 72 6f 76 69 73 69 6f 6e 69 6e 67 20 75 73 69 6e 67 20 41 6e 73 69 62 6c 65 2e make.provisioning.using.Ansible.
7ee0 00 57 69 74 68 20 74 68 65 20 68 65 6c 70 20 6f 66 20 54 65 72 72 61 66 6f 72 6d 2c 20 79 6f 75 .With.the.help.of.Terraform,.you
7f00 20 63 61 6e 20 71 75 69 63 6b 6c 79 20 64 65 70 6c 6f 79 20 56 79 4f 53 2d 62 61 73 65 64 20 69 .can.quickly.deploy.VyOS-based.i
7f20 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 69 6e 20 74 68 65 20 76 53 70 68 65 72 65 2e 20 41 6c nfrastructure.in.the.vSphere..Al
7f40 73 6f 20 77 65 20 77 69 6c 6c 20 6d 61 6b 65 20 70 72 6f 76 69 73 69 6f 6e 69 6e 67 20 75 73 69 so.we.will.make.provisioning.usi
7f60 6e 67 20 41 6e 73 69 62 6c 65 2e 00 57 69 74 68 20 74 68 65 20 68 65 6c 70 20 6f 66 20 74 65 72 ng.Ansible..With.the.help.of.ter
7f80 72 61 66 6f 72 6d 73 2c 20 79 6f 75 20 63 61 6e 20 71 75 69 63 6b 6c 79 20 64 65 70 6c 6f 79 20 raforms,.you.can.quickly.deploy.
7fa0 56 79 6f 73 2d 62 61 73 65 64 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 69 6e 20 74 68 65 Vyos-based.infrastructure.in.the
7fc0 20 41 57 53 20 63 6c 6f 75 64 2e 20 49 66 20 6e 65 63 65 73 73 61 72 79 2c 20 74 68 65 20 69 6e .AWS.cloud..If.necessary,.the.in
7fe0 66 72 61 73 74 72 75 63 74 75 72 65 20 63 61 6e 20 62 65 20 72 65 6d 6f 76 65 64 20 75 73 69 6e frastructure.can.be.removed.usin
8000 67 20 74 65 72 72 61 66 6f 72 6d 2e 20 41 6c 73 6f 20 77 65 20 77 69 6c 6c 20 6d 61 6b 65 20 70 g.terraform..Also.we.will.make.p
8020 72 6f 76 69 73 69 6f 6e 69 6e 67 20 75 73 69 6e 67 20 41 6e 73 69 62 6c 65 2e 00 57 69 74 68 20 rovisioning.using.Ansible..With.
8040 74 68 65 20 68 65 6c 70 20 6f 66 20 74 65 72 72 61 66 6f 72 6d 73 2c 20 79 6f 75 20 63 61 6e 20 the.help.of.terraforms,.you.can.
8060 71 75 69 63 6b 6c 79 20 64 65 70 6c 6f 79 20 56 79 6f 73 2d 62 61 73 65 64 20 69 6e 66 72 61 73 quickly.deploy.Vyos-based.infras
8080 74 72 75 63 74 75 72 65 20 69 6e 20 74 68 65 20 41 7a 75 72 65 20 63 6c 6f 75 64 2e 20 49 66 20 tructure.in.the.Azure.cloud..If.
80a0 6e 65 63 65 73 73 61 72 79 2c 20 74 68 65 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 63 61 necessary,.the.infrastructure.ca
80c0 6e 20 62 65 20 72 65 6d 6f 76 65 64 20 75 73 69 6e 67 20 74 65 72 72 61 66 6f 72 6d 2e 00 57 69 n.be.removed.using.terraform..Wi
80e0 74 68 20 74 68 65 20 68 65 6c 70 20 6f 66 20 74 65 72 72 61 66 6f 72 6d 73 2c 20 79 6f 75 20 63 th.the.help.of.terraforms,.you.c
8100 61 6e 20 71 75 69 63 6b 6c 79 20 64 65 70 6c 6f 79 20 56 79 6f 73 2d 62 61 73 65 64 20 69 6e 66 an.quickly.deploy.Vyos-based.inf
8120 72 61 73 74 72 75 63 74 75 72 65 20 69 6e 20 74 68 65 20 76 53 70 68 65 72 65 2e 00 57 69 74 68 rastructure.in.the.vSphere..With
8140 6f 75 74 20 70 72 6f 78 79 20 69 74 20 72 65 71 75 69 72 65 73 20 56 79 4f 53 20 6d 69 6e 69 6f out.proxy.it.requires.VyOS.minio
8160 6e 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 6e 64 20 73 75 70 70 6f 72 74 20 6f 70 2d 6d n.configuration.and.support.op-m
8180 6f 64 65 20 64 61 74 61 3a 00 57 69 74 68 6f 75 74 20 70 72 6f 78 79 20 69 74 20 72 65 71 75 69 ode.data:.Without.proxy.it.requi
81a0 72 65 73 20 56 79 4f 53 20 6d 69 6e 69 6f 6e 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 6e res.VyOS.minion.configuration.an
81c0 64 20 73 75 70 70 6f 72 74 73 20 6f 70 2d 6d 6f 64 65 20 64 61 74 61 3a 00 59 6f 75 20 63 61 6e d.supports.op-mode.data:.You.can
81e0 20 69 6e 73 74 61 6c 6c 20 50 79 56 79 4f 53 20 75 73 69 6e 67 20 70 69 70 3a 00 59 6f 75 20 63 .install.PyVyOS.using.pip:.You.c
8200 61 6e 20 69 6e 73 74 61 6c 6c 20 70 79 76 79 6f 73 20 75 73 69 6e 67 20 70 69 70 3a 00 59 6f 75 an.install.pyvyos.using.pip:.You
8220 20 63 61 6e 20 70 61 73 73 20 61 20 60 60 73 65 74 60 60 2c 20 60 60 64 65 6c 65 74 65 60 60 20 .can.pass.a.``set``,.``delete``.
8240 6f 72 20 60 60 63 6f 6d 6d 65 6e 74 60 60 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 74 68 65 20 60 60 or.``comment``.command.to.the.``
8260 2f 63 6f 6e 66 69 67 75 72 65 60 60 20 65 6e 64 70 6f 69 6e 74 2e 00 60 60 64 65 6c 65 74 65 60 /configure``.endpoint..``delete`
8280 60 20 61 20 73 69 6e 67 6c 65 20 63 6f 6d 6d 61 6e 64 00 60 60 73 65 65 64 2e 69 73 6f 60 60 20 `.a.single.command.``seed.iso``.
82a0 77 61 73 20 70 72 65 76 69 6f 75 73 6c 79 20 63 72 65 61 74 65 64 20 69 6e 20 64 69 72 65 63 74 was.previously.created.in.direct
82c0 6f 72 79 20 60 60 2f 74 6d 70 2f 60 60 2e 20 49 74 27 73 20 6e 65 63 65 73 73 61 72 79 20 74 6f ory.``/tmp/``..It's.necessary.to
82e0 20 6d 6f 76 65 20 69 74 20 74 6f 20 60 60 2f 76 61 72 2f 6c 69 62 2f 76 7a 2f 74 65 6d 70 6c 61 .move.it.to.``/var/lib/vz/templa
8300 74 65 2f 69 73 6f 60 60 00 60 60 73 65 74 60 60 20 61 20 73 69 6e 67 6c 65 20 63 6f 6d 6d 61 6e te/iso``.``set``.a.single.comman
8320 64 00 60 60 76 79 6f 73 5f 75 73 65 72 64 61 74 61 60 60 20 2d 20 74 68 65 20 6d 6f 64 75 6c 65 d.``vyos_userdata``.-.the.module
8340 20 61 63 63 65 70 74 73 20 61 20 6c 69 73 74 20 6f 66 20 43 4c 49 20 63 6f 6e 66 69 67 75 72 61 .accepts.a.list.of.CLI.configura
8360 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 69 6e 20 61 20 60 60 76 79 6f 73 5f 63 6f 6e 66 69 67 tion.commands.in.a.``vyos_config
8380 5f 63 6f 6d 6d 61 6e 64 73 60 60 20 73 65 63 74 69 6f 6e 2c 20 77 68 69 63 68 20 67 69 76 65 73 _commands``.section,.which.gives
83a0 20 61 6e 20 65 61 73 79 20 77 61 79 20 74 6f 20 63 6f 6e 66 69 67 75 72 65 20 74 68 65 20 73 79 .an.easy.way.to.configure.the.sy
83c0 73 74 65 6d 20 64 75 72 69 6e 67 20 64 65 70 6c 6f 79 6d 65 6e 74 2e 00 60 60 76 79 6f 73 60 60 stem.during.deployment..``vyos``
83e0 2f 60 60 76 79 6f 73 60 60 20 63 72 65 64 65 6e 74 69 61 6c 73 20 69 66 20 6e 6f 20 6f 74 68 65 /``vyos``.credentials.if.no.othe
8400 72 73 20 73 70 65 63 69 66 69 65 64 20 62 79 20 64 61 74 61 20 73 6f 75 72 63 65 2e 00 60 60 77 rs.specified.by.data.source..``w
8420 72 69 74 65 5f 66 69 6c 65 73 60 60 20 2d 20 74 68 69 73 20 6d 6f 64 75 6c 65 20 61 6c 6c 6f 77 rite_files``.-.this.module.allow
8440 73 20 74 6f 20 69 6e 73 65 72 74 20 61 6e 79 20 66 69 6c 65 73 20 69 6e 74 6f 20 74 68 65 20 66 s.to.insert.any.files.into.the.f
8460 69 6c 65 73 79 73 74 65 6d 20 62 65 66 6f 72 65 20 74 68 65 20 66 69 72 73 74 20 62 6f 6f 74 2c ilesystem.before.the.first.boot,
8480 20 66 6f 72 20 65 78 61 6d 70 6c 65 2c 20 70 72 65 2d 67 65 6e 65 72 61 74 65 64 20 65 6e 63 72 .for.example,.pre-generated.encr
84a0 79 70 74 69 6f 6e 20 6b 65 79 73 2c 20 63 65 72 74 69 66 69 63 61 74 65 73 2c 20 6f 72 20 65 76 yption.keys,.certificates,.or.ev
84c0 65 6e 20 61 20 77 68 6f 6c 65 20 60 60 63 6f 6e 66 69 67 2e 62 6f 6f 74 60 60 20 66 69 6c 65 2e en.a.whole.``config.boot``.file.
84e0 20 54 68 65 20 66 6f 72 6d 61 74 20 69 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 74 68 65 20 .The.format.is.described.in.the.
8500 63 6c 6f 75 64 69 6e 69 74 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 60 43 6c 6f 75 64 2d 69 cloudinit.documentation.`Cloud-i
8520 6e 69 74 2d 77 72 69 74 65 5f 66 69 6c 65 73 60 5f 2e 00 60 70 79 76 79 6f 73 20 44 6f 63 75 6d nit-write_files`_..`pyvyos.Docum
8540 65 6e 74 61 74 69 6f 6e 20 6f 6e 20 52 65 61 64 20 74 68 65 20 44 6f 63 73 20 3c 68 74 74 70 73 entation.on.Read.the.Docs.<https
8560 3a 2f 2f 70 79 76 79 6f 73 2e 72 65 61 64 74 68 65 64 6f 63 73 2e 69 6f 2f 65 6e 2f 6c 61 74 65 ://pyvyos.readthedocs.io/en/late
8580 73 74 2f 3e 60 5f 20 70 72 6f 76 69 64 65 73 20 64 65 74 61 69 6c 65 64 20 69 6e 73 74 72 75 63 st/>`_.provides.detailed.instruc
85a0 74 69 6f 6e 73 20 6f 6e 20 74 68 65 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 2c 20 63 6f 6e 66 69 tions.on.the.installation,.confi
85c0 67 75 72 61 74 69 6f 6e 2c 20 61 6e 64 20 6f 70 65 72 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 guration,.and.operation.of.the.p
85e0 79 76 79 6f 73 20 6c 69 62 72 61 72 79 2e 00 60 70 79 76 79 6f 73 20 53 6f 75 72 63 65 20 43 6f yvyos.library..`pyvyos.Source.Co
8600 64 65 20 6f 6e 20 47 69 74 48 75 62 20 3c 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d de.on.GitHub.<https://github.com
8620 2f 72 6f 62 65 72 74 6f 62 65 72 74 6f 2f 70 79 76 79 6f 73 3e 60 5f 20 61 6c 6c 6f 77 73 20 79 /robertoberto/pyvyos>`_.allows.y
8640 6f 75 20 74 6f 20 61 63 63 65 73 73 20 61 6e 64 20 63 6f 6e 74 72 69 62 75 74 65 20 74 6f 20 74 ou.to.access.and.contribute.to.t
8660 68 65 20 6c 69 62 72 61 72 79 27 73 20 63 6f 64 65 2e 00 60 70 79 76 79 6f 73 20 6f 6e 20 50 79 he.library's.code..`pyvyos.on.Py
8680 50 49 20 3c 68 74 74 70 73 3a 2f 2f 70 79 70 69 2e 6f 72 67 2f 70 72 6f 6a 65 63 74 2f 70 79 76 PI.<https://pypi.org/project/pyv
86a0 79 6f 73 2f 3e 60 5f 20 66 6f 72 20 65 61 73 79 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 76 69 yos/>`_.for.easy.installation.vi
86c0 61 20 70 69 70 2c 20 74 68 65 20 50 79 74 68 6f 6e 20 70 61 63 6b 61 67 65 20 69 6e 73 74 61 6c a.pip,.the.Python.package.instal
86e0 6c 65 72 2e 20 45 78 65 63 75 74 65 20 60 70 69 70 20 69 6e 73 74 61 6c 6c 20 70 79 76 79 6f 73 ler..Execute.`pip.install.pyvyos
8700 60 20 69 6e 20 79 6f 75 72 20 74 65 72 6d 69 6e 61 6c 20 74 6f 20 69 6e 73 74 61 6c 6c 2e 00 61 `.in.your.terminal.to.install..a
8720 64 64 20 61 6e 20 69 6d 61 67 65 00 61 6c 6c 00 61 6e 73 69 62 6c 65 2e 63 66 67 00 63 6c 6f 75 dd.an.image.all.ansible.cfg.clou
8740 64 2d 63 6f 6e 66 69 67 20 66 69 6c 65 20 66 6f 72 6d 61 74 00 63 6c 6f 75 64 2d 69 6e 69 74 20 d-config.file.format.cloud-init.
8760 6c 6f 67 73 20 74 6f 20 2f 76 61 72 2f 6c 6f 67 2f 63 6c 6f 75 64 2d 69 6e 69 74 2e 6c 6f 67 2e logs.to./var/log/cloud-init.log.
8780 20 54 68 69 73 20 66 69 6c 65 20 63 61 6e 20 62 65 20 68 65 6c 70 66 75 6c 20 69 6e 20 64 65 74 .This.file.can.be.helpful.in.det
87a0 65 72 6d 69 6e 69 6e 67 20 77 68 79 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 76 ermining.why.the.configuration.v
87c0 61 72 69 65 73 20 66 72 6f 6d 20 77 68 61 74 20 79 6f 75 20 65 78 70 65 63 74 2e 20 59 6f 75 20 aries.from.what.you.expect..You.
87e0 63 61 6e 20 66 65 74 63 68 20 74 68 65 20 6d 6f 73 74 20 69 6d 70 6f 72 74 61 6e 74 20 64 61 74 can.fetch.the.most.important.dat
8800 61 20 66 69 6c 74 65 72 69 6e 67 20 6f 75 74 70 75 74 20 66 6f 72 20 60 60 76 79 6f 73 60 60 20 a.filtering.output.for.``vyos``.
8820 6b 65 79 77 6f 72 64 3a 00 63 6f 6d 6d 61 6e 64 73 2e 74 78 74 00 64 65 6c 65 74 65 20 61 6e 20 keyword:.commands.txt.delete.an.
8840 69 6d 61 67 65 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 60 60 31 2e 33 2d 72 6f 6c 6c 69 6e 67 image,.for.example.``1.3-rolling
8860 2d 32 30 32 30 30 36 30 37 30 31 31 37 60 60 00 67 72 6f 75 70 5f 76 61 72 73 2f 61 6c 6c 00 68 -202006070117``.group_vars/all.h
8880 6f 73 74 73 00 69 64 5f 72 73 61 5f 64 6f 63 6b 65 72 2e 70 75 62 2e 20 4e 65 65 64 73 20 74 6f osts.id_rsa_docker.pub..Needs.to
88a0 20 64 65 63 6c 61 72 65 20 6f 6e 6c 79 20 70 75 62 6c 69 63 20 6b 65 79 20 65 78 61 63 74 6c 79 .declare.only.public.key.exactly
88c0 2e 00 69 66 20 79 6f 75 20 6a 75 73 74 20 77 61 6e 74 20 74 68 65 20 56 61 6c 75 65 20 6f 66 20 ..if.you.just.want.the.Value.of.
88e0 61 20 6d 75 6c 74 69 2d 76 61 6c 75 65 64 20 6e 6f 64 65 2c 20 75 73 65 20 74 68 65 20 60 60 72 a.multi-valued.node,.use.the.``r
8900 65 74 75 72 6e 56 61 6c 75 65 73 60 60 20 6f 70 65 72 61 74 69 6f 6e 2e 00 69 6e 73 74 61 6e 63 eturnValues``.operation..instanc
8920 65 2e 79 6d 6c 00 6d 61 69 6e 2e 74 66 00 6d 61 69 6e 2e 79 6d 6c 00 6d 79 6b 65 79 2e 70 65 6d e.yml.main.tf.main.yml.mykey.pem
8940 00 6d 79 6b 65 79 2e 70 65 6d 20 79 6f 75 20 68 61 76 65 20 74 6f 20 67 65 74 20 75 73 69 6e 67 .mykey.pem.you.have.to.get.using
8960 20 73 74 65 70 20 31 2e 32 00 70 79 76 79 6f 73 00 70 79 76 79 6f 73 20 69 73 20 61 20 50 79 74 .step.1.2.pyvyos.pyvyos.is.a.Pyt
8980 68 6f 6e 20 6c 69 62 72 61 72 79 20 64 65 73 69 67 6e 65 64 20 66 6f 72 20 69 6e 74 65 72 61 63 hon.library.designed.for.interac
89a0 74 69 6e 67 20 77 69 74 68 20 56 79 4f 53 20 64 65 76 69 63 65 73 20 74 68 72 6f 75 67 68 20 74 ting.with.VyOS.devices.through.t
89c0 68 65 69 72 20 41 50 49 2e 20 54 68 69 73 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 69 73 20 heir.API..This.documentation.is.
89e0 69 6e 74 65 6e 64 65 64 20 74 6f 20 67 75 69 64 65 20 79 6f 75 20 69 6e 20 75 73 69 6e 67 20 70 intended.to.guide.you.in.using.p
8a00 79 76 79 6f 73 20 66 6f 72 20 70 72 6f 67 72 61 6d 6d 61 74 69 63 20 6d 61 6e 61 67 65 6d 65 6e yvyos.for.programmatic.managemen
8a20 74 20 6f 66 20 79 6f 75 72 20 56 79 4f 53 20 64 65 76 69 63 65 73 2e 00 72 31 31 2d 70 72 6f 78 t.of.your.VyOS.devices..r11-prox
8a40 79 2e 73 6c 73 20 49 6e 63 6c 75 64 65 73 20 70 61 72 61 6d 65 74 65 72 73 20 66 6f 72 20 63 6f y.sls.Includes.parameters.for.co
8a60 6e 6e 65 63 74 69 6e 67 20 74 6f 20 73 61 6c 74 2d 70 72 6f 78 79 20 6d 69 6e 69 6f 6e 00 73 74 nnecting.to.salt-proxy.minion.st
8a80 61 72 74 75 70 20 73 63 72 69 70 74 73 00 74 65 72 72 61 66 6f 72 6d 2e 74 66 76 61 72 73 00 74 artup.scripts.terraform.tfvars.t
8aa0 6f 70 2e 73 6c 73 00 76 53 70 68 65 72 65 00 76 61 72 2e 74 66 00 76 61 72 69 61 62 6c 65 73 2e op.sls.vSphere.var.tf.variables.
8ac0 74 66 00 76 65 72 73 69 6f 6e 73 2e 74 66 00 76 65 72 73 75 73 20 61 20 6e 6f 6e 2d 65 78 69 73 tf.versions.tf.versus.a.non-exis
8ae0 74 65 6e 74 20 70 61 74 68 3a 00 76 79 6f 73 2e 74 66 00 4d 49 4d 45 2d 56 65 72 73 69 6f 6e 3a tent.path:.vyos.tf.MIME-Version:
8b00 20 31 2e 30 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74 65 78 74 2f 70 6c 61 69 6e 3b 20 63 .1.0.Content-Type:.text/plain;.c
8b20 68 61 72 73 65 74 3d 55 54 46 2d 38 0a 43 6f 6e 74 65 6e 74 2d 54 72 61 6e 73 66 65 72 2d 45 6e harset=UTF-8.Content-Transfer-En
8b40 63 6f 64 69 6e 67 3a 20 38 62 69 74 0a 58 2d 47 65 6e 65 72 61 74 6f 72 3a 20 4c 6f 63 61 6c 61 coding:.8bit.X-Generator:.Locala
8b60 7a 79 20 28 68 74 74 70 73 3a 2f 2f 6c 6f 63 61 6c 61 7a 79 2e 63 6f 6d 29 0a 50 72 6f 6a 65 63 zy.(https://localazy.com).Projec
8b80 74 2d 49 64 2d 56 65 72 73 69 6f 6e 3a 20 0a 4c 61 6e 67 75 61 67 65 3a 20 65 6e 0a 50 6c 75 72 t-Id-Version:..Language:.en.Plur
8ba0 61 6c 2d 46 6f 72 6d 73 3a 20 6e 70 6c 75 72 61 6c 73 3d 32 3b 20 70 6c 75 72 61 6c 3d 28 6e 3d al-Forms:.nplurals=2;.plural=(n=
8bc0 3d 31 29 20 3f 20 30 20 3a 20 31 3b 0a 00 23 20 20 20 74 65 72 72 61 66 6f 72 6d 41 5a 20 23 20 =1).?.0.:.1;..#...terraformAZ.#.
8be0 20 20 74 65 72 72 61 66 6f 72 6d 76 53 70 68 65 72 65 20 23 20 20 20 74 65 72 72 61 66 6f 72 6d ..terraformvSphere.#...terraform
8c00 47 6f 6f 67 6c 65 00 23 61 7a 20 6c 6f 67 69 6e 00 23 63 64 20 2f 79 6f 75 72 20 66 6f 6c 64 65 Google.#az.login.#cd./your.folde
8c20 72 00 23 74 65 72 72 61 66 6f 72 6d 20 61 70 70 6c 79 00 23 74 65 72 72 61 66 6f 72 6d 20 69 6e r.#terraform.apply.#terraform.in
8c40 69 74 00 23 74 65 72 72 61 66 6f 72 6d 20 70 6c 61 6e 00 23 79 65 73 00 2a 2a 4e 4f 54 45 2a 2a it.#terraform.plan.#yes.**NOTE**
8c60 3a 20 62 65 20 63 61 72 65 66 75 6c 20 77 68 69 6c 65 20 63 6f 70 79 69 6e 67 20 61 6e 64 20 70 :.be.careful.while.copying.and.p
8c80 61 73 74 69 6e 67 20 70 72 65 76 69 6f 75 73 20 63 6f 6d 6d 61 6e 64 73 2e 20 44 6f 75 62 6c 65 asting.previous.commands..Double
8ca0 20 71 75 6f 74 65 73 20 6d 61 79 20 6e 65 65 64 20 74 6f 20 62 65 20 63 6f 72 72 65 63 74 65 64 .quotes.may.need.to.be.corrected
8cc0 2e 00 2a 2a 4e 4f 54 45 2a 2a 3a 20 62 65 20 63 61 72 65 66 75 6c 6c 20 77 68 69 6c 65 20 63 6f ..**NOTE**:.be.carefull.while.co
8ce0 70 79 69 6e 67 20 61 6e 64 20 70 61 73 74 69 6e 67 20 70 72 65 76 69 6f 75 73 20 63 6f 6d 6d 61 pying.and.pasting.previous.comma
8d00 6e 64 73 2e 20 44 6f 62 6c 65 20 71 75 6f 74 65 73 20 6d 61 79 20 6e 65 65 64 20 74 6f 20 62 65 nds..Doble.quotes.may.need.to.be
8d20 20 63 6f 72 72 65 63 74 65 64 2e 00 2a 2a 6d 65 74 61 2d 64 61 74 61 2a 2a 3a 20 65 6d 70 74 79 .corrected..**meta-data**:.empty
8d40 20 66 69 6c 65 20 28 72 65 71 75 69 72 65 64 29 2e 00 2a 2a 6e 65 74 77 6f 72 6b 2d 63 6f 6e 66 .file.(required)..**network-conf
8d60 69 67 2a 2a 20 66 69 6c 65 20 6f 6e 6c 79 20 68 61 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e ig**.file.only.has.configuration
8d80 20 74 68 61 74 20 64 69 73 61 62 6c 65 73 20 74 68 65 20 61 75 74 6f 6d 61 74 69 63 20 64 68 63 .that.disables.the.automatic.dhc
8da0 70 20 63 6c 69 65 6e 74 20 6f 6e 20 66 69 72 73 74 20 69 6e 74 65 72 66 61 63 65 2e 00 2a 2a 6e p.client.on.first.interface..**n
8dc0 65 74 77 6f 72 6b 2d 63 6f 6e 66 69 67 2a 2a 3a 20 66 69 6c 65 20 74 68 61 74 20 77 69 6c 6c 20 etwork-config**:.file.that.will.
8de0 69 6e 64 69 63 61 74 65 20 74 6f 20 61 76 6f 69 64 20 64 68 63 70 20 63 6c 69 65 6e 74 20 6f 6e indicate.to.avoid.dhcp.client.on
8e00 20 66 69 72 73 74 20 69 6e 74 65 72 66 61 63 65 2e 00 2a 2a 75 73 65 72 2d 64 61 74 61 2a 2a 20 .first.interface..**user-data**.
8e20 66 69 6c 65 20 6d 75 73 74 20 73 74 61 72 74 20 77 69 74 68 20 60 60 23 63 6c 6f 75 64 2d 63 6f file.must.start.with.``#cloud-co
8e40 6e 66 69 67 60 60 20 61 6e 64 20 63 6f 6e 74 61 69 6e 73 20 76 79 6f 73 2d 63 6f 6d 6d 61 6e 64 nfig``.and.contains.vyos-command
8e60 73 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 3a 00 2a 2a 75 73 65 72 2d 64 61 74 61 2a 2a 3a 20 69 s..For.example:.**user-data**:.i
8e80 6e 63 6c 75 64 65 73 20 76 79 6f 73 2d 63 6f 6d 6d 61 6e 64 73 2e 00 2f 63 6f 6e 66 69 67 2d 66 ncludes.vyos-commands../config-f
8ea0 69 6c 65 00 2f 63 6f 6e 66 69 67 75 72 65 00 2f 67 65 6e 65 72 61 74 65 00 2f 69 6d 61 67 65 00 ile./configure./generate./image.
8ec0 2f 70 6f 77 65 72 6f 66 66 00 2f 72 65 62 6f 6f 74 00 2f 72 65 73 65 74 00 2f 72 65 74 72 69 65 /poweroff./reboot./reset./retrie
8ee0 76 65 00 2f 73 68 6f 77 00 31 20 41 6e 73 69 62 6c 65 20 64 6f 65 73 6e 27 74 20 63 6f 6e 6e 65 ve./show.1.Ansible.doesn't.conne
8f00 63 74 20 76 69 61 20 53 53 48 20 74 6f 20 79 6f 75 72 20 41 57 53 20 69 6e 73 74 61 6e 63 65 3a ct.via.SSH.to.your.AWS.instance:
8f20 20 79 6f 75 20 68 61 76 65 20 74 6f 20 63 68 65 63 6b 20 74 68 61 74 20 79 6f 75 72 20 53 53 48 .you.have.to.check.that.your.SSH
8f40 20 6b 65 79 20 68 61 73 20 63 6f 70 69 65 64 20 69 6e 74 6f 20 74 68 65 20 70 61 74 68 20 2f 72 .key.has.copied.into.the.path./r
8f60 6f 6f 74 2f 61 77 73 2f 2e 00 31 20 43 6f 6c 6c 65 63 74 20 61 6c 6c 20 64 61 74 61 20 69 6e 20 oot/aws/..1.Collect.all.data.in.
8f80 74 6f 20 66 69 6c 65 20 22 74 65 72 72 61 66 6f 72 6d 2e 74 66 76 61 72 73 22 20 61 6e 64 20 63 to.file."terraform.tfvars".and.c
8fa0 72 65 61 74 65 20 72 65 73 6f 75 72 63 65 73 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 22 74 65 72 reate.resources.for.example."ter
8fc0 72 61 66 6f 72 6d 22 00 31 20 43 72 65 61 74 65 20 61 6e 20 55 4e 49 58 20 69 6e 73 74 61 6e 63 raform".1.Create.an.UNIX.instanc
8fe0 65 20 77 68 65 6e 65 76 65 72 20 79 6f 75 20 77 61 6e 74 20 28 6c 6f 63 61 6c 2c 20 63 6c 6f 75 e.whenever.you.want.(local,.clou
9000 64 2c 20 61 6e 64 20 73 6f 20 6f 6e 29 00 31 20 43 72 65 61 74 65 20 61 6e 20 55 4e 49 58 20 6f d,.and.so.on).1.Create.an.UNIX.o
9020 72 20 57 69 6e 64 6f 77 73 20 69 6e 73 74 61 6e 63 65 00 31 20 43 72 65 61 74 65 20 61 6e 20 61 r.Windows.instance.1.Create.an.a
9040 63 63 6f 75 6e 74 20 77 69 74 68 20 41 57 53 20 61 6e 64 20 67 65 74 20 79 6f 75 72 20 22 61 63 ccount.with.AWS.and.get.your."ac
9060 63 65 73 73 5f 6b 65 79 22 2c 20 22 73 65 63 72 65 74 20 6b 65 79 22 00 31 20 43 72 65 61 74 65 cess_key",."secret.key".1.Create
9080 20 61 6e 20 61 63 63 6f 75 6e 74 20 77 69 74 68 20 41 7a 75 72 65 00 31 2e 20 41 6e 73 69 62 6c .an.account.with.Azure.1..Ansibl
90a0 65 20 64 6f 65 73 6e 27 74 20 63 6f 6e 6e 65 63 74 20 76 69 61 20 53 53 48 20 74 6f 20 79 6f 75 e.doesn't.connect.via.SSH.to.you
90c0 72 20 41 57 53 20 69 6e 73 74 61 6e 63 65 3a 20 79 6f 75 20 68 61 76 65 20 74 6f 20 63 68 65 63 r.AWS.instance:.you.have.to.chec
90e0 6b 20 74 68 61 74 20 79 6f 75 72 20 53 53 48 20 6b 65 79 20 68 61 73 20 63 6f 70 69 65 64 20 69 k.that.your.SSH.key.has.copied.i
9100 6e 74 6f 20 74 68 65 20 70 61 74 68 20 2f 72 6f 6f 74 2f 61 77 73 2f 2e 20 41 6c 73 6f 2c 20 69 nto.the.path./root/aws/..Also,.i
9120 6e 63 72 65 61 73 65 20 74 68 65 20 74 69 6d 65 20 69 6e 20 74 68 65 20 66 69 6c 65 20 69 6e 73 ncrease.the.time.in.the.file.ins
9140 74 61 6e 63 65 2e 79 6d 6c 20 66 72 6f 6d 20 33 30 30 20 73 65 63 20 74 6f 20 35 30 30 20 73 65 tance.yml.from.300.sec.to.500.se
9160 63 20 6f 72 20 6d 6f 72 65 2e 20 28 49 74 20 64 65 70 65 6e 64 73 20 6f 6e 20 79 6f 75 72 20 6c c.or.more..(It.depends.on.your.l
9180 6f 63 61 74 69 6f 6e 29 2e 20 4d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 79 6f 75 20 68 61 76 ocation)..Make.sure.that.you.hav
91a0 65 20 6f 70 65 6e 65 64 20 61 63 63 65 73 73 20 74 6f 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 e.opened.access.to.the.instance.
91c0 69 6e 20 74 68 65 20 73 65 63 75 72 69 74 79 20 67 72 6f 75 70 2e 00 31 2e 31 20 43 6f 6c 6c 65 in.the.security.group..1.1.Colle
91e0 63 74 20 61 6c 6c 20 64 61 74 61 20 69 6e 20 74 6f 20 66 69 6c 65 20 22 74 65 72 72 61 66 6f 72 ct.all.data.in.to.file."terrafor
9200 6d 2e 74 66 76 61 72 73 22 20 61 6e 64 20 63 72 65 61 74 65 20 72 65 73 6f 75 72 63 65 73 20 66 m.tfvars".and.create.resources.f
9220 6f 20 65 78 61 6d 70 6c 65 20 22 74 65 72 72 61 66 6f 72 6d 22 00 31 2e 31 20 43 72 65 61 74 65 o.example."terraform".1.1.Create
9240 20 61 6e 20 61 63 63 6f 75 6e 74 20 77 69 74 68 20 41 57 53 20 61 6e 64 20 67 65 74 20 79 6f 75 .an.account.with.AWS.and.get.you
9260 72 20 22 61 63 63 65 73 73 5f 6b 65 79 22 2c 20 22 73 65 63 72 65 74 20 6b 65 79 22 00 31 2e 31 r."access_key",."secret.key".1.1
9280 20 43 72 65 61 74 65 20 61 6e 20 61 63 63 6f 75 6e 74 20 77 69 74 68 20 41 7a 75 72 65 00 31 2e .Create.an.account.with.Azure.1.
92a0 32 20 43 72 65 61 74 65 20 61 20 6b 65 79 20 70 61 69 72 20 61 6e 64 20 64 6f 77 6e 6c 6f 61 64 2.Create.a.key.pair.and.download
92c0 20 79 6f 75 72 20 2e 70 65 6d 20 6b 65 79 00 31 2e 32 20 43 72 65 61 74 65 20 61 20 6b 65 79 20 .your..pem.key.1.2.Create.a.key.
92e0 70 61 69 72 5f 20 61 6e 64 20 64 6f 77 6e 6c 6f 61 64 20 79 6f 75 72 20 2e 70 65 6d 20 6b 65 79 pair_.and.download.your..pem.key
9300 00 31 2e 33 20 43 72 65 61 74 65 20 61 20 73 65 63 75 72 69 74 79 20 67 72 6f 75 70 20 66 6f 72 .1.3.Create.a.security.group.for
9320 20 74 68 65 20 6e 65 77 20 56 79 4f 53 20 69 6e 73 74 61 6e 63 65 00 31 2e 33 20 43 72 65 61 74 .the.new.VyOS.instance.1.3.Creat
9340 65 20 61 20 73 65 63 75 72 69 74 79 20 67 72 6f 75 70 5f 20 66 6f 72 20 74 68 65 20 6e 65 77 20 e.a.security.group_.for.the.new.
9360 56 79 4f 53 20 69 6e 73 74 61 6e 63 65 20 61 6e 64 20 6f 70 65 6e 20 61 6c 6c 20 74 72 61 66 66 VyOS.instance.and.open.all.traff
9380 69 63 00 32 20 43 72 65 61 74 65 20 61 20 6b 65 79 20 70 61 69 72 5f 20 61 6e 64 20 64 6f 77 6e ic.2.Create.a.key.pair_.and.down
93a0 6c 6f 61 64 20 79 6f 75 72 20 2e 70 65 6d 20 6b 65 79 00 32 20 44 6f 77 6e 6c 6f 61 64 20 61 6e load.your..pem.key.2.Download.an
93c0 64 20 69 6e 73 74 61 6c 6c 20 41 6e 73 69 62 6c 65 00 32 20 44 6f 77 6e 6c 6f 61 64 20 61 6e 64 d.install.Ansible.2.Download.and
93e0 20 69 6e 73 74 61 6c 6c 20 54 65 72 72 61 66 6f 72 6d 00 32 20 54 65 72 72 61 66 6f 72 6d 20 64 .install.Terraform.2.Terraform.d
9400 6f 65 73 6e 27 74 20 63 6f 6e 6e 65 63 74 20 76 69 61 20 53 53 48 20 74 6f 20 79 6f 75 72 20 41 oesn't.connect.via.SSH.to.your.A
9420 6e 73 69 62 6c 65 20 69 6e 73 74 61 6e 63 65 3a 20 79 6f 75 20 68 61 76 65 20 74 6f 20 63 68 65 nsible.instance:.you.have.to.che
9440 63 6b 20 74 68 65 20 63 6f 72 72 65 63 74 20 6c 6f 67 69 6e 20 61 6e 64 20 70 61 73 73 77 6f 72 ck.the.correct.login.and.passwor
9460 64 20 69 6e 20 74 68 65 20 70 61 72 74 20 6f 66 20 74 68 65 20 66 69 6c 65 20 56 79 4f 53 2e 20 d.in.the.part.of.the.file.VyOS..
9480 74 66 00 32 2e 31 20 43 72 65 61 74 65 20 61 20 55 4e 49 58 20 6f 72 20 57 69 6e 64 6f 77 73 20 tf.2.1.Create.a.UNIX.or.Windows.
94a0 69 6e 73 74 61 6e 63 65 00 32 2e 31 20 43 72 65 61 74 65 20 61 30 20 55 4e 49 58 20 6f 72 20 57 instance.2.1.Create.a0.UNIX.or.W
94c0 69 6e 64 6f 77 73 20 69 6e 73 74 61 6e 63 65 00 32 2e 32 20 44 6f 77 6e 6c 6f 61 64 20 61 6e 64 indows.instance.2.2.Download.and
94e0 20 69 6e 73 74 61 6c 6c 20 54 65 72 72 61 66 6f 72 6d 00 32 2e 33 20 43 72 65 61 74 65 20 74 68 .install.Terraform.2.3.Create.th
9500 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2e 2e 2f 61 77 73 76 79 6f 73 2f e.folder.for.example.../awsvyos/
9520 00 32 2e 33 20 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 .2.3.Create.the.folder.for.examp
9540 6c 65 20 2e 2e 2f 61 7a 76 79 6f 73 2f 00 32 2e 33 20 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c le.../azvyos/.2.3.Create.the.fol
9560 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2e 2e 2f 76 73 70 68 65 72 65 2f 00 32 2e 33 20 der.for.example.../vsphere/.2.3.
9580 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 Create.the.folder.for.example./r
95a0 6f 6f 74 2f 61 77 73 74 65 72 72 61 66 6f 72 6d 00 32 2e 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 oot/awsterraform.2.4.Copy.all.fi
95c0 6c 65 73 20 66 72 6f 6d 20 6d 79 20 66 6f 6c 64 65 72 20 2f 54 65 72 72 61 66 6f 72 6d 20 69 6e les.from.my.folder./Terraform.in
95e0 74 6f 20 79 6f 75 72 20 54 65 72 72 61 66 6f 72 6d 20 70 72 6f 6a 65 63 74 00 32 2e 34 20 43 6f to.your.Terraform.project.2.4.Co
9600 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 66 72 6f 6d 20 6d 79 20 66 6f 6c 64 65 72 20 2f 54 65 72 py.all.files.from.my.folder./Ter
9620 72 61 66 6f 72 6d 20 69 6e 74 6f 20 79 6f 75 72 20 54 65 72 72 61 66 6f 72 6d 20 70 72 6f 6a 65 raform.into.your.Terraform.proje
9640 63 74 20 28 6d 61 69 6e 2e 74 66 2c 20 76 61 72 69 61 62 6c 65 73 2e 74 66 29 00 32 2e 34 20 43 ct.(main.tf,.variables.tf).2.4.C
9660 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e 74 6f 20 79 6f 75 72 20 54 65 72 72 61 66 6f 72 opy.all.files.into.your.Terrafor
9680 6d 20 70 72 6f 6a 65 63 74 20 22 2f 72 6f 6f 74 2f 61 77 73 74 65 72 72 61 66 6f 72 6d 22 20 28 m.project."/root/awsterraform".(
96a0 76 79 6f 73 2e 74 66 2c 20 76 61 72 2e 74 66 2c 20 74 65 72 72 61 66 6f 72 6d 2e 74 66 76 61 72 vyos.tf,.var.tf,.terraform.tfvar
96c0 73 2c 76 65 72 73 69 6f 6e 2e 74 66 29 2c 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 73 65 65 s,version.tf),.more.detailed.see
96e0 20 60 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 54 65 72 72 61 66 6f 6d 20 66 6f .`Structure.of.files.Terrafom.fo
9700 72 20 41 57 53 60 5f 00 32 2e 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e 74 6f 20 r.AWS`_.2.4.Copy.all.files.into.
9720 79 6f 75 72 20 54 65 72 72 61 66 6f 72 6d 20 70 72 6f 6a 65 63 74 20 28 76 79 6f 73 2e 74 66 2c your.Terraform.project.(vyos.tf,
9740 20 76 61 72 2e 74 66 29 20 32 2e 34 2e 31 20 50 6c 65 61 73 65 20 74 79 70 65 20 74 68 65 20 69 .var.tf).2.4.1.Please.type.the.i
9760 6e 66 6f 72 6d 61 74 69 6f 6e 20 69 6e 74 6f 20 74 68 65 20 73 74 72 69 6e 67 73 20 32 32 2c 20 nformation.into.the.strings.22,.
9780 33 35 2c 20 33 36 20 6f 66 20 66 69 6c 65 20 22 76 79 6f 73 2e 74 66 22 00 32 2e 35 20 4c 6f 67 35,.36.of.file."vyos.tf".2.5.Log
97a0 69 6e 20 77 69 74 68 20 41 7a 75 72 65 20 20 75 73 69 6e 67 20 74 68 65 20 63 6f 6d 6d 61 6e 64 in.with.Azure..using.the.command
97c0 00 32 2e 35 20 54 79 70 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 3a 00 32 2e 36 20 54 79 70 .2.5.Type.the.commands.:.2.6.Typ
97e0 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 3a 00 33 20 43 72 65 61 74 65 20 74 68 65 20 66 6f e.the.commands.:.3.Create.the.fo
9800 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 2f 61 77 73 2f 00 33 20 43 72 lder.for.example./root/aws/.3.Cr
9820 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f eate.the.folder.for.example./roo
9840 74 2f 61 77 73 74 65 72 72 61 66 6f 72 6d 00 33 20 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 t/awsterraform.3.Create.the.fold
9860 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 2f 61 7a 2f 00 33 20 43 72 65 61 74 er.for.example./root/az/.3.Creat
9880 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 2f 61 e.the.folder.for.example./root/a
98a0 7a 76 79 6f 73 2f 00 33 20 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 zvyos/.3.Create.the.folder.for.e
98c0 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 2f 76 73 70 68 65 72 65 74 65 72 72 61 66 6f 72 6d 00 33 20 xample./root/vsphereterraform.3.
98e0 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 Create.the.folder.for.example./r
9900 6f 6f 74 2f 76 73 70 68 65 72 65 74 65 72 72 61 66 6f 72 6d 2f 00 33 2e 31 20 43 72 65 61 74 65 oot/vsphereterraform/.3.1.Create
9920 20 61 20 55 4e 49 58 20 69 6e 73 74 61 6e 63 65 00 33 2e 31 20 43 72 65 61 74 65 20 61 20 55 4e .a.UNIX.instance.3.1.Create.a.UN
9940 49 58 20 69 6e 73 74 61 6e 63 65 20 77 68 65 6e 65 76 65 72 20 79 6f 75 20 77 61 6e 74 20 28 6c IX.instance.whenever.you.want.(l
9960 6f 63 61 6c 2c 20 63 6c 6f 75 64 2c 20 61 6e 64 20 73 6f 20 6f 6e 29 00 33 2e 32 20 44 6f 77 6e ocal,.cloud,.and.so.on).3.2.Down
9980 6c 6f 61 64 20 61 6e 64 20 69 6e 73 74 61 6c 6c 20 41 6e 73 69 62 6c 65 00 33 2e 33 20 43 72 65 load.and.install.Ansible.3.3.Cre
99a0 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 ate.the.folder.for.example./root
99c0 2f 61 77 73 2f 00 33 2e 33 20 43 72 65 61 74 65 20 74 68 65 20 66 6f 6c 64 65 72 20 66 6f 72 20 /aws/.3.3.Create.the.folder.for.
99e0 65 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 2f 61 7a 2f 00 33 2e 33 20 43 72 65 61 74 65 20 74 68 65 example./root/az/.3.3.Create.the
9a00 20 66 6f 6c 64 65 72 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 2f 72 6f 6f 74 2f 76 73 70 68 65 72 .folder.for.example./root/vspher
9a20 65 2f 00 33 2e 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 66 72 6f 6d 20 6d 79 20 66 6f e/.3.4.Copy.all.files.from.my.fo
9a40 6c 64 65 72 20 2f 41 6e 73 69 62 6c 65 20 69 6e 74 6f 20 79 6f 75 72 20 41 6e 73 69 62 6c 65 20 lder./Ansible.into.your.Ansible.
9a60 70 72 6f 6a 65 63 74 20 28 61 6e 73 69 62 6c 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 65 2e 79 project.(ansible.cfg,.instance.y
9a80 6d 6c 20 61 6e 64 20 2f 67 72 6f 75 70 5f 76 61 72 73 29 00 33 2e 34 20 43 6f 70 79 20 61 6c 6c ml.and./group_vars).3.4.Copy.all
9aa0 20 66 69 6c 65 73 20 66 72 6f 6d 20 6d 79 20 66 6f 6c 64 65 72 20 2f 41 6e 73 69 62 6c 65 20 69 .files.from.my.folder./Ansible.i
9ac0 6e 74 6f 20 79 6f 75 72 20 41 6e 73 69 62 6c 65 20 70 72 6f 6a 65 63 74 20 28 61 6e 73 69 62 6c nto.your.Ansible.project.(ansibl
9ae0 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 65 2e 79 6d 6c 2c 20 6d 79 6b 65 79 2e 70 65 6d 29 00 e.cfg,.instance.yml,.mykey.pem).
9b00 33 2e 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e 74 6f 20 79 6f 75 72 20 41 6e 73 3.4.Copy.all.files.into.your.Ans
9b20 69 62 6c 65 20 70 72 6f 6a 65 63 74 20 22 2f 72 6f 6f 74 2f 61 77 73 2f 22 20 28 61 6e 73 69 62 ible.project."/root/aws/".(ansib
9b40 6c 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 65 2e 79 6d 6c 2c 20 6d 79 6b 65 79 2e 70 65 6d 20 le.cfg,.instance.yml,.mykey.pem.
9b60 61 6e 64 20 22 61 6c 6c 22 29 2c 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 73 65 65 20 60 53 and."all"),.more.detailed.see.`S
9b80 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 6f 72 20 41 57 tructure.of.files.Ansible.for.AW
9ba0 53 60 5f 00 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e 74 6f 20 79 6f 75 72 20 41 S`_.4.Copy.all.files.into.your.A
9bc0 6e 73 69 62 6c 65 20 70 72 6f 6a 65 63 74 20 22 2f 72 6f 6f 74 2f 61 77 73 2f 22 20 28 61 6e 73 nsible.project."/root/aws/".(ans
9be0 69 62 6c 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 65 2e 79 6d 6c 2c 20 6d 79 6b 65 79 2e 70 65 ible.cfg,.instance.yml,.mykey.pe
9c00 6d 20 61 6e 64 20 22 61 6c 6c 22 29 2c 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 73 65 65 20 m.and."all"),.more.detailed.see.
9c20 60 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 6f 72 20 `Structure.of.files.Ansible.for.
9c40 41 57 53 60 5f 00 34 20 43 6f 70 79 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e 74 6f 20 79 6f 75 72 AWS`_.4.Copy.all.files.into.your
9c60 20 41 6e 73 69 62 6c 65 20 70 72 6f 6a 65 63 74 20 22 2f 72 6f 6f 74 2f 61 7a 2f 22 20 28 61 6e .Ansible.project."/root/az/".(an
9c80 73 69 62 6c 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 65 2e 79 6d 6c 2c 22 61 6c 6c 22 29 2c 20 sible.cfg,.instance.yml,"all"),.
9ca0 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 73 65 65 20 60 53 74 72 75 63 74 75 72 65 20 6f 66 20 more.detailed.see.`Structure.of.
9cc0 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 6f 72 20 41 7a 75 72 65 60 5f 00 34 20 43 6f 70 79 files.Ansible.for.Azure`_.4.Copy
9ce0 20 61 6c 6c 20 66 69 6c 65 73 20 69 6e 74 6f 20 79 6f 75 72 20 41 6e 73 69 62 6c 65 20 70 72 6f .all.files.into.your.Ansible.pro
9d00 6a 65 63 74 20 22 2f 72 6f 6f 74 2f 76 73 70 68 65 72 65 74 65 72 72 61 66 6f 72 6d 2f 22 20 28 ject."/root/vsphereterraform/".(
9d20 61 6e 73 69 62 6c 65 2e 63 66 67 2c 20 69 6e 73 74 61 6e 63 65 2e 79 6d 6c 2c 22 61 6c 6c 22 29 ansible.cfg,.instance.yml,"all")
9d40 2c 20 6d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 73 65 65 20 60 53 74 72 75 63 74 75 72 65 20 6f ,.more.detailed.see.`Structure.o
9d60 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 6f 72 20 76 53 70 68 65 72 65 60 5f 00 34 2e f.files.Ansible.for.vSphere`_.4.
9d80 31 20 54 79 70 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 6f 6e 20 79 6f 75 72 20 54 65 72 72 1.Type.the.commands.on.your.Terr
9da0 61 66 6f 6d 20 69 6e 73 74 61 6e 63 65 3a 00 41 20 56 79 4f 53 20 71 63 6f 77 20 69 6d 61 67 65 afom.instance:.A.VyOS.qcow.image
9dc0 20 77 69 74 68 20 63 6c 6f 75 64 2d 69 6e 69 74 20 6f 70 74 69 6f 6e 73 20 69 73 20 6e 65 65 64 .with.cloud-init.options.is.need
9de0 65 64 2e 20 54 68 69 73 20 63 61 6e 20 62 65 20 6f 62 74 61 69 6e 65 64 20 75 73 69 6e 67 20 60 ed..This.can.be.obtained.using.`
9e00 76 79 6f 73 2d 76 6d 2d 69 6d 61 67 65 73 60 5f 20 72 65 70 6f 2e 20 41 66 74 65 72 20 63 6c 6f vyos-vm-images`_.repo..After.clo
9e20 6e 69 6e 67 20 74 68 65 20 72 65 70 6f 2c 20 65 64 69 74 20 74 68 65 20 66 69 6c 65 20 2a 2a 71 ning.the.repo,.edit.the.file.**q
9e40 65 6d 75 2e 79 6d 6c 2a 2a 20 61 6e 64 20 63 6f 6d 6d 65 6e 74 20 74 68 65 20 2a 2a 64 6f 77 6e emu.yml**.and.comment.the.**down
9e60 6c 6f 61 64 2d 69 73 6f 2a 2a 20 72 6f 6c 65 2e 00 41 20 56 79 4f 53 20 71 63 6f 77 20 69 6d 61 load-iso**.role..A.VyOS.qcow.ima
9e80 67 65 20 77 69 74 68 20 63 6c 6f 75 64 2d 69 6e 69 74 20 6f 70 74 69 6f 6e 73 20 69 73 20 6e 65 ge.with.cloud-init.options.is.ne
9ea0 65 64 65 64 2e 20 54 68 69 73 20 63 61 6e 20 62 65 20 6f 62 74 61 69 6e 65 64 20 75 73 69 6e 67 eded..This.can.be.obtained.using
9ec0 20 60 76 79 6f 73 2d 76 6d 2d 69 6d 61 67 65 73 60 5f 20 72 65 70 6f 2e 20 41 66 74 65 72 20 63 .`vyos-vm-images`_.repo..After.c
9ee0 6c 6f 6e 6e 69 6e 67 20 74 68 65 20 72 65 70 6f 2c 20 65 64 69 74 20 74 68 65 20 66 69 6c 65 20 lonning.the.repo,.edit.the.file.
9f00 2a 2a 71 65 6d 75 2e 79 6d 6c 2a 2a 20 61 6e 64 20 63 6f 6d 6d 65 6e 74 20 74 68 65 20 2a 2a 64 **qemu.yml**.and.comment.the.**d
9f20 6f 77 6e 6c 6f 61 64 2d 69 73 6f 2a 2a 20 72 6f 6c 65 2e 00 41 20 63 6c 6f 75 64 2d 63 6f 6e 66 ownload-iso**.role..A.cloud-conf
9f40 69 67 20 64 6f 63 75 6d 65 6e 74 20 69 73 20 77 72 69 74 74 65 6e 20 69 6e 20 59 41 4d 4c 2e 20 ig.document.is.written.in.YAML..
9f60 54 68 65 20 66 69 6c 65 20 6d 75 73 74 20 62 65 67 69 6e 20 77 69 74 68 20 60 60 23 63 6c 6f 75 The.file.must.begin.with.``#clou
9f80 64 2d 63 6f 6e 66 69 67 60 60 20 6c 69 6e 65 2e 20 54 68 65 20 6f 6e 6c 79 20 73 75 70 70 6f 72 d-config``.line..The.only.suppor
9fa0 74 65 64 20 74 6f 70 2d 6c 65 76 65 6c 20 6b 65 79 73 20 61 72 65 20 60 60 76 79 6f 73 5f 63 6f ted.top-level.keys.are.``vyos_co
9fc0 6e 66 69 67 5f 63 6f 6d 6d 61 6e 64 73 60 60 20 61 6e 64 20 60 60 77 72 69 74 65 5f 66 69 6c 65 nfig_commands``.and.``write_file
9fe0 73 60 60 2e 20 54 68 65 20 75 73 65 20 6f 66 20 74 68 65 73 65 20 6b 65 79 73 20 69 73 20 64 65 s``..The.use.of.these.keys.is.de
a000 73 63 72 69 62 65 64 20 69 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 77 6f 20 73 65 63 scribed.in.the.following.two.sec
a020 74 69 6f 6e 73 2e 00 41 20 73 69 6d 70 6c 65 20 65 78 61 6d 70 6c 65 20 69 73 20 73 68 6f 77 6e tions..A.simple.example.is.shown
a040 20 62 65 6c 6f 77 2c 20 77 68 65 72 65 20 74 68 65 20 6f 70 73 20 63 6f 6d 6d 61 6e 64 20 65 78 .below,.where.the.ops.command.ex
a060 65 63 75 74 65 64 20 69 6e 20 74 68 65 20 70 6f 73 74 2d 68 6f 6f 6b 20 73 63 72 69 70 74 20 69 ecuted.in.the.post-hook.script.i
a080 73 20 22 73 68 6f 77 20 69 6e 74 65 72 66 61 63 65 73 22 2e 00 41 20 73 69 6e 67 6c 65 2d 71 75 s."show.interfaces"..A.single-qu
a0a0 6f 74 65 20 73 79 6d 62 6f 6c 20 69 73 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 20 69 6e 73 69 64 65 ote.symbol.is.not.allowed.inside
a0c0 20 63 6f 6d 6d 61 6e 64 20 6f 72 20 76 61 6c 75 65 2e 00 41 50 49 20 45 6e 64 70 6f 69 6e 74 73 .command.or.value..API.Endpoints
a0e0 00 41 57 53 00 41 57 53 5f 74 65 72 72 61 66 6f 72 6d 5f 61 6e 73 69 62 6c 65 5f 73 69 6e 67 6c .AWS.AWS_terraform_ansible_singl
a100 65 5f 76 79 6f 73 5f 69 6e 73 74 61 6e 63 65 00 41 63 63 65 70 74 20 6d 69 6e 69 6f 6e 20 6b 65 e_vyos_instance.Accept.minion.ke
a120 79 00 41 66 74 65 72 20 65 78 65 63 75 74 69 6e 67 20 61 6c 6c 20 74 68 65 20 63 6f 6d 6d 61 6e y.After.executing.all.the.comman
a140 64 73 20 79 6f 75 20 77 69 6c 6c 20 68 61 76 65 20 79 6f 75 72 20 56 79 4f 53 20 69 6e 73 74 61 ds.you.will.have.your.VyOS.insta
a160 6e 63 65 20 6f 6e 20 74 68 65 20 41 57 53 20 63 6c 6f 75 64 20 77 69 74 68 20 79 6f 75 72 20 63 nce.on.the.AWS.cloud.with.your.c
a180 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 20 69 74 27 73 20 61 20 76 65 72 79 20 63 6f 6e 76 65 6e onfiguration,.it's.a.very.conven
a1a0 69 65 6e 74 20 64 65 73 69 74 69 6f 6e 2e 20 49 66 20 79 6f 75 20 6e 65 65 64 20 74 6f 20 64 65 ient.desition..If.you.need.to.de
a1c0 6c 65 74 65 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 70 6c 65 61 73 65 20 74 79 70 65 20 74 68 lete.the.instance.please.type.th
a1e0 65 20 63 6f 6d 6d 61 6e 64 3a 00 41 66 74 65 72 20 65 78 65 63 75 74 69 6e 67 20 61 6c 6c 20 74 e.command:.After.executing.all.t
a200 68 65 20 63 6f 6d 6d 61 6e 64 73 20 79 6f 75 20 77 69 6c 6c 20 68 61 76 65 20 79 6f 75 72 20 56 he.commands.you.will.have.your.V
a220 79 4f 53 20 69 6e 73 74 61 6e 63 65 20 6f 6e 20 74 68 65 20 41 7a 75 72 65 20 63 6c 6f 75 64 20 yOS.instance.on.the.Azure.cloud.
a240 77 69 74 68 20 79 6f 75 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 20 69 74 27 73 20 61 20 with.your.configuration,.it's.a.
a260 76 65 72 79 20 63 6f 6e 76 65 6e 69 65 6e 74 20 64 65 73 69 74 69 6f 6e 2e 20 49 66 20 79 6f 75 very.convenient.desition..If.you
a280 20 6e 65 65 64 20 74 6f 20 64 65 6c 65 74 65 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 70 6c 65 .need.to.delete.the.instance.ple
a2a0 61 73 65 20 74 79 70 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 3a 00 41 66 74 65 72 20 65 78 65 63 ase.type.the.command:.After.exec
a2c0 75 74 69 6e 67 20 61 6c 6c 20 74 68 65 20 63 6f 6d 6d 61 6e 64 73 20 79 6f 75 20 77 69 6c 6c 20 uting.all.the.commands.you.will.
a2e0 68 61 76 65 20 79 6f 75 72 20 56 79 4f 53 20 69 6e 73 74 61 6e 63 65 20 6f 6e 20 74 68 65 20 76 have.your.VyOS.instance.on.the.v
a300 53 70 68 65 72 65 20 77 69 74 68 20 79 6f 75 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 20 Sphere.with.your.configuration,.
a320 69 74 27 73 20 61 20 76 65 72 79 20 63 6f 6e 76 65 6e 69 65 6e 74 20 64 65 73 69 74 69 6f 6e 2e it's.a.very.convenient.desition.
a340 20 49 66 20 79 6f 75 20 6e 65 65 64 20 74 6f 20 64 65 6c 65 74 65 20 74 68 65 20 69 6e 73 74 61 .If.you.need.to.delete.the.insta
a360 6e 63 65 20 70 6c 65 61 73 65 20 74 79 70 65 20 74 68 65 20 63 6f 6d 6d 61 6e 64 3a 00 41 66 74 nce.please.type.the.command:.Aft
a380 65 72 20 74 68 65 20 60 60 76 79 6f 73 5f 63 6f 6e 66 69 67 5f 63 6f 6d 6d 61 6e 64 73 60 60 20 er.the.``vyos_config_commands``.
a3a0 61 72 65 20 65 78 65 63 75 74 65 64 2c 20 63 6c 6f 75 64 2d 69 6e 69 74 20 77 69 6c 6c 20 61 75 are.executed,.cloud-init.will.au
a3c0 74 6f 6d 61 74 69 63 61 6c 6c 79 20 20 70 65 72 66 6f 72 6d 20 61 20 60 60 63 6f 6d 6d 69 74 60 tomatically..perform.a.``commit`
a3e0 60 20 61 6e 64 20 60 60 73 61 76 65 60 60 20 6f 70 65 72 61 74 69 6f 6e 2e 00 41 6c 6c 20 65 6e `.and.``save``.operation..All.en
a400 64 70 6f 69 6e 74 73 20 6f 6e 6c 79 20 6c 69 73 74 65 6e 20 6f 6e 20 48 54 54 50 20 50 4f 53 54 dpoints.only.listen.on.HTTP.POST
a420 20 72 65 71 75 65 73 74 73 20 61 6e 64 20 74 68 65 20 41 50 49 20 4b 45 59 20 6d 75 73 74 20 73 .requests.and.the.API.KEY.must.s
a440 65 74 20 61 73 20 60 60 6b 65 79 60 60 20 69 6e 20 74 68 65 20 66 6f 72 6d 64 61 74 61 2e 00 41 et.as.``key``.in.the.formdata..A
a460 6c 6c 20 66 69 6c 65 73 20 61 62 6f 75 74 20 74 68 65 20 61 72 74 69 63 6c 65 20 63 61 6e 20 62 ll.files.about.the.article.can.b
a480 65 20 66 6f 75 6e 64 20 68 65 72 65 5f 00 41 6c 6c 20 6f 66 20 74 68 65 73 65 20 63 61 6e 20 62 e.found.here_.All.of.these.can.b
a4a0 65 20 6f 76 65 72 72 69 64 64 65 6e 20 75 73 69 6e 67 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 e.overridden.using.the.configura
a4c0 74 69 6f 6e 20 69 6e 20 75 73 65 72 2d 64 61 74 61 2e 00 41 6c 73 6f 2c 20 69 6e 63 72 65 61 73 tion.in.user-data..Also,.increas
a4e0 65 20 74 68 65 20 74 69 6d 65 20 69 6e 20 74 68 65 20 66 69 6c 65 20 69 6e 73 74 61 6e 63 65 2e e.the.time.in.the.file.instance.
a500 79 6d 6c 20 66 72 6f 6d 20 33 30 30 20 73 65 63 20 74 6f 20 35 30 30 20 73 65 63 20 6f 72 20 6d yml.from.300.sec.to.500.sec.or.m
a520 6f 72 65 2e 20 28 49 74 20 64 65 70 65 6e 64 73 20 6f 6e 20 79 6f 75 72 20 6c 6f 63 61 74 69 6f ore..(It.depends.on.your.locatio
a540 6e 29 2e 20 4d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 79 6f 75 20 68 61 76 65 20 6f 70 65 6e n)..Make.sure.that.you.have.open
a560 65 64 20 61 63 63 65 73 73 20 74 6f 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 69 6e 20 74 68 65 ed.access.to.the.instance.in.the
a580 20 73 65 63 75 72 69 74 79 20 67 72 6f 75 70 2e 00 41 6c 73 6f 2c 20 74 68 69 73 20 6c 61 62 20 .security.group..Also,.this.lab.
a5a0 63 6f 6e 73 69 64 65 72 73 3a 00 41 6e 73 69 62 6c 65 00 41 6e 79 20 6d 6f 64 69 66 69 63 61 74 considers:.Ansible.Any.modificat
a5c0 69 6f 6e 73 20 77 65 72 65 20 64 6f 6e 65 20 74 6f 20 77 6f 72 6b 20 61 72 6f 75 6e 64 20 75 6e ions.were.done.to.work.around.un
a5e0 66 69 78 65 64 20 62 75 67 73 20 61 6e 64 20 69 6d 70 6c 65 6d 65 6e 74 20 65 6e 68 61 6e 63 65 fixed.bugs.and.implement.enhance
a600 6d 65 6e 74 73 20 74 68 61 74 20 61 72 65 20 6e 6f 74 20 63 6f 6d 70 6c 65 74 65 20 69 6e 20 74 ments.that.are.not.complete.in.t
a620 68 65 20 56 79 4f 53 20 73 79 73 74 65 6d 20 63 61 6e 20 62 65 20 70 6c 61 63 65 64 20 68 65 72 he.VyOS.system.can.be.placed.her
a640 65 2e 00 41 74 20 74 68 69 73 20 73 74 65 70 20 77 65 20 63 61 6e 20 67 65 74 20 73 6f 6d 65 20 e..At.this.step.we.can.get.some.
a660 6f 70 2d 6d 6f 64 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 56 79 4f 53 20 6e 6f op-mode.information.from.VyOS.no
a680 64 65 73 3a 00 41 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 00 41 7a 75 72 65 00 41 7a 75 72 65 5f des:.Authentication.Azure.Azure_
a6a0 74 65 72 72 61 66 6f 72 6d 5f 61 6e 73 69 62 6c 65 5f 73 69 6e 67 6c 65 5f 76 79 6f 73 5f 69 6e terraform_ansible_single_vyos_in
a6c0 73 74 61 6e 63 65 00 42 65 66 6f 72 65 20 73 74 61 72 74 69 6e 67 2c 20 70 6c 65 61 73 65 20 72 stance.Before.starting,.please.r
a6e0 65 66 65 72 20 74 6f 20 63 6c 6f 75 64 2d 69 6e 69 74 20 60 6e 65 74 77 6f 72 6b 2d 63 6f 6e 66 efer.to.cloud-init.`network-conf
a700 69 67 2d 64 6f 63 73 60 5f 20 69 6e 20 6f 72 64 65 72 20 74 6f 20 6b 6e 6f 77 20 68 6f 77 20 74 ig-docs`_.in.order.to.know.how.t
a720 6f 20 69 6d 70 6f 72 74 20 75 73 65 72 20 61 6e 64 20 6e 65 74 77 6f 72 6b 20 63 6f 6e 66 69 67 o.import.user.and.network.config
a740 75 72 61 74 69 6f 6e 73 2e 00 42 65 6c 6f 77 20 73 65 65 20 6f 6e 65 20 65 78 61 6d 70 6c 65 20 urations..Below.see.one.example.
a760 66 6f 72 20 63 75 72 6c 20 61 6e 64 20 6f 6e 65 20 66 6f 72 20 70 79 74 68 6f 6e 2e 20 54 68 65 for.curl.and.one.for.python..The
a780 20 72 65 73 74 20 6f 66 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 69 73 20 72 65 .rest.of.the.documentation.is.re
a7a0 64 75 63 65 64 20 74 6f 20 63 75 72 6c 2e 00 43 68 65 63 6b 20 73 61 6c 74 2d 6b 65 79 73 20 6f duced.to.curl..Check.salt-keys.o
a7c0 6e 20 74 68 65 20 73 61 6c 74 20 6d 61 73 74 65 72 00 43 68 65 63 6b 20 74 68 61 74 20 70 72 6f n.the.salt.master.Check.that.pro
a7e0 78 79 20 6d 69 6e 69 6f 6e 20 69 73 20 61 6c 69 76 65 3a 00 43 68 65 63 6b 20 74 68 61 74 20 73 xy.minion.is.alive:.Check.that.s
a800 61 6c 74 20 6d 61 73 74 65 72 20 63 61 6e 20 63 6f 6d 6d 75 6e 69 63 61 74 65 20 77 69 74 68 20 alt.master.can.communicate.with.
a820 6d 69 6e 69 6f 6e 73 00 43 6c 6f 75 64 20 61 6e 64 20 76 69 72 74 75 61 6c 69 7a 65 64 20 69 6e minions.Cloud.and.virtualized.in
a840 73 74 61 6e 63 65 73 20 6f 66 20 56 79 4f 53 20 61 72 65 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 stances.of.VyOS.are.initialized.
a860 75 73 69 6e 67 20 74 68 65 20 69 6e 64 75 73 74 72 79 2d 73 74 61 6e 64 61 72 64 20 63 6c 6f 75 using.the.industry-standard.clou
a880 64 2d 69 6e 69 74 2e 20 56 69 61 20 63 6c 6f 75 64 2d 69 6e 69 74 2c 20 74 68 65 20 73 79 73 74 d-init..Via.cloud-init,.the.syst
a8a0 65 6d 20 70 65 72 66 6f 72 6d 73 20 74 61 73 6b 73 20 73 75 63 68 20 61 73 20 69 6e 6a 65 63 74 em.performs.tasks.such.as.inject
a8c0 69 6e 67 20 53 53 48 20 6b 65 79 73 20 61 6e 64 20 63 6f 6e 66 69 67 75 72 69 6e 67 20 74 68 65 ing.SSH.keys.and.configuring.the
a8e0 20 6e 65 74 77 6f 72 6b 2e 20 49 6e 20 61 64 64 69 74 69 6f 6e 2c 20 74 68 65 20 75 73 65 72 20 .network..In.addition,.the.user.
a900 63 61 6e 20 73 75 70 70 6c 79 20 61 20 63 75 73 74 6f 6d 20 63 6f 6e 66 69 67 75 72 61 74 69 6f can.supply.a.custom.configuratio
a920 6e 20 61 74 20 74 68 65 20 74 69 6d 65 20 6f 66 20 69 6e 73 74 61 6e 63 65 20 6c 61 75 6e 63 68 n.at.the.time.of.instance.launch
a940 2e 00 43 6c 6f 75 64 2d 63 6f 6e 66 69 67 20 6d 6f 64 75 6c 65 73 00 43 6c 6f 75 64 2d 69 6e 69 ..Cloud-config.modules.Cloud-ini
a960 74 20 60 6e 65 74 77 6f 72 6b 2d 63 6f 6e 66 69 67 2d 64 6f 63 73 60 5f 2e 00 43 6c 6f 75 64 2d t.`network-config-docs`_..Cloud-
a980 69 6e 69 74 20 6f 6e 20 50 72 6f 78 6d 6f 78 00 43 6f 6d 6d 61 6e 64 20 45 78 65 63 75 74 69 6f init.on.Proxmox.Command.Executio
a9a0 6e 20 61 74 20 49 6e 69 74 69 61 6c 20 42 6f 6f 74 00 43 6f 6d 6d 61 6e 64 20 53 63 72 69 70 74 n.at.Initial.Boot.Command.Script
a9c0 69 6e 67 00 43 6f 6d 6d 61 6e 64 20 66 6f 72 20 67 65 6e 65 72 61 74 69 6e 67 20 60 60 73 65 65 ing.Command.for.generating.``see
a9e0 64 2e 69 73 6f 60 60 00 43 6f 6d 6d 61 6e 64 73 20 72 65 71 75 69 72 65 6d 65 6e 74 73 3a 00 43 d.iso``.Commands.requirements:.C
aa00 6f 6e 66 69 67 20 53 6f 75 72 63 65 73 00 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 00 43 6f 6e 66 onfig.Sources.Configuration.Conf
aa20 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 65 78 65 63 75 74 65 64 20 iguration.commands.are.executed.
aa40 6a 75 73 74 20 6c 69 6b 65 20 66 72 6f 6d 20 61 20 6e 6f 72 6d 61 6c 20 63 6f 6e 66 69 67 20 73 just.like.from.a.normal.config.s
aa60 65 73 73 69 6f 6e 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 69 66 20 79 6f 75 20 77 61 6e 74 ession..For.example,.if.you.want
aa80 20 74 6f 20 64 69 73 61 62 6c 65 20 61 20 42 47 50 20 70 65 65 72 20 6f 6e 20 56 52 52 50 20 74 .to.disable.a.BGP.peer.on.VRRP.t
aaa0 72 61 6e 73 69 74 69 6f 6e 20 74 6f 20 62 61 63 6b 75 70 3a 00 43 6f 6e 66 69 67 75 72 65 2c 20 ransition.to.backup:.Configure,.
aac0 74 68 65 6e 20 44 65 6c 65 74 65 20 4f 62 6a 65 63 74 00 43 6f 6e 66 69 67 75 72 65 2c 20 74 68 then.Delete.Object.Configure,.th
aae0 65 6e 20 4c 6f 61 64 20 46 69 6c 65 00 43 6f 6e 66 69 67 75 72 65 2c 20 74 68 65 6e 20 53 61 76 en.Load.File.Configure,.then.Sav
ab00 65 00 43 6f 6e 66 69 67 75 72 65 2c 20 74 68 65 6e 20 53 61 76 65 20 46 69 6c 65 00 43 6f 6e 66 e.Configure,.then.Save.File.Conf
ab20 69 67 75 72 65 2c 20 74 68 65 6e 20 53 65 74 00 43 6f 6e 66 69 67 75 72 65 2c 20 74 68 65 6e 20 igure,.then.Set.Configure,.then.
ab40 53 68 6f 77 20 4f 62 6a 65 63 74 00 43 6f 6e 66 69 67 75 72 65 2c 20 74 68 65 6e 20 53 68 6f 77 Show.Object.Configure,.then.Show
ab60 20 61 20 53 69 6e 67 6c 65 20 4f 62 6a 65 63 74 20 56 61 6c 75 65 00 43 6f 6e 74 65 6e 74 00 43 .a.Single.Object.Value.Content.C
ab80 6f 6e 74 65 6e 74 20 6f 66 20 63 6f 6d 6d 61 6e 64 73 2e 63 6f 6e 66 00 43 6f 6e 74 65 6e 74 20 ontent.of.commands.conf.Content.
aba0 6f 66 20 6e 65 74 77 6f 72 6b 2d 63 6f 6e 66 69 67 20 66 69 6c 65 3a 00 43 72 65 61 74 65 20 73 of.network-config.file:.Create.s
abc0 65 65 64 2e 69 73 6f 00 43 72 65 61 74 65 20 74 65 78 74 20 66 69 6c 65 73 20 6e 61 6d 65 64 20 eed.iso.Create.text.files.named.
abe0 75 73 65 72 2d 64 61 74 61 20 61 6e 64 20 6d 65 74 61 2d 64 61 74 61 2e 20 4f 6e 20 6c 69 6e 75 user-data.and.meta-data..On.linu
ac00 78 2d 62 61 73 65 64 20 73 79 73 74 65 6d 73 2c 20 74 68 65 20 6d 6b 69 73 6f 66 73 20 75 74 69 x-based.systems,.the.mkisofs.uti
ac20 6c 69 74 79 20 63 61 6e 20 62 65 20 75 73 65 64 20 74 6f 20 63 72 65 61 74 65 20 74 68 65 20 73 lity.can.be.used.to.create.the.s
ac40 65 65 64 20 49 53 4f 2e 20 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 73 79 6e 74 61 78 20 77 69 eed.ISO..The.following.syntax.wi
ac60 6c 6c 20 61 64 64 20 74 68 65 73 65 20 66 69 6c 65 73 20 74 6f 20 74 68 65 20 49 53 4f 20 39 36 ll.add.these.files.to.the.ISO.96
ac80 36 30 20 66 69 6c 65 20 73 79 73 74 65 6d 2e 00 43 72 65 61 74 69 6e 67 20 74 68 65 20 56 4d 00 60.file.system..Creating.the.VM.
aca0 43 75 73 74 6f 6d 20 73 63 72 69 70 74 73 20 61 72 65 20 6e 6f 74 20 65 78 65 63 75 74 65 64 20 Custom.scripts.are.not.executed.
acc0 77 69 74 68 20 72 6f 6f 74 20 70 72 69 76 69 6c 65 67 65 73 20 28 55 73 65 20 73 75 64 6f 20 69 with.root.privileges.(Use.sudo.i
ace0 6e 73 69 64 65 20 69 66 20 74 68 69 73 20 69 73 20 6e 65 63 65 73 73 61 72 79 29 2e 00 44 48 43 nside.if.this.is.necessary)..DHC
ad00 50 20 6f 6e 20 66 69 72 73 74 20 45 74 68 65 72 6e 65 74 20 69 6e 74 65 72 66 61 63 65 20 69 66 P.on.first.Ethernet.interface.if
ad20 20 6e 6f 20 6e 65 74 77 6f 72 6b 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 73 20 70 72 6f .no.network.configuration.is.pro
ad40 76 69 64 65 64 2e 00 44 65 70 6c 6f 79 69 6e 67 20 56 79 4f 53 20 69 6e 20 74 68 65 20 41 57 53 vided..Deploying.VyOS.in.the.AWS
ad60 20 63 6c 6f 75 64 00 44 65 70 6c 6f 79 69 6e 67 20 56 79 4f 53 20 69 6e 20 74 68 65 20 41 7a 75 .cloud.Deploying.VyOS.in.the.Azu
ad80 72 65 20 63 6c 6f 75 64 00 44 65 70 6c 6f 79 69 6e 67 20 56 79 4f 53 20 69 6e 20 74 68 65 20 76 re.cloud.Deploying.VyOS.in.the.v
ada0 53 70 68 65 72 65 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 00 44 65 70 6c 6f 79 69 6e 67 20 Sphere.infrastructure.Deploying.
adc0 76 79 6f 73 20 69 6e 20 74 68 65 20 41 57 53 20 63 6c 6f 75 64 00 44 65 70 6c 6f 79 69 6e 67 20 vyos.in.the.AWS.cloud.Deploying.
ade0 76 79 6f 73 20 69 6e 20 74 68 65 20 41 7a 75 72 65 20 63 6c 6f 75 64 00 44 65 70 6c 6f 79 69 6e vyos.in.the.Azure.cloud.Deployin
ae00 67 20 76 79 6f 73 20 69 6e 20 74 68 65 20 56 73 70 68 65 72 65 20 69 6e 66 72 61 73 74 72 75 63 g.vyos.in.the.Vsphere.infrastruc
ae20 74 69 61 00 45 78 61 6d 70 6c 65 00 45 78 61 6d 70 6c 65 20 6f 66 20 63 6f 6e 66 69 67 75 72 61 tia.Example.Example.of.configura
ae40 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 66 72 6f 6d 20 74 68 65 20 66 69 6c 65 20 22 2f 73 72 tion.commands.from.the.file."/sr
ae60 76 2f 73 61 6c 74 2f 73 74 61 74 65 73 2f 63 6f 6d 6d 61 6e 64 73 2e 74 78 74 22 00 45 78 61 6d v/salt/states/commands.txt".Exam
ae80 70 6c 65 20 6f 66 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 3a 00 45 78 61 6d 70 6c 65 20 6f 66 ple.of.configuration:.Example.of
aea0 20 6f 70 2d 6d 6f 64 65 3a 00 45 78 61 6d 70 6c 65 73 00 45 78 65 63 75 74 69 6e 67 20 43 6f 6e .op-mode:.Examples.Executing.Con
aec0 66 69 67 75 72 61 74 69 6f 6e 20 53 63 72 69 70 74 73 00 45 78 65 63 75 74 69 6e 67 20 70 72 65 figuration.Scripts.Executing.pre
aee0 2d 68 6f 6f 6b 73 2f 70 6f 73 74 2d 68 6f 6f 6b 73 20 53 63 72 69 70 74 73 00 46 69 6c 65 20 63 -hooks/post-hooks.Scripts.File.c
af00 6f 6e 74 65 6e 74 73 00 46 69 6c 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 41 6e 73 69 62 6c 65 ontents.File.contents.of.Ansible
af20 20 66 6f 72 20 41 57 53 00 46 69 6c 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 41 6e 73 69 62 6c .for.AWS.File.contents.of.Ansibl
af40 65 20 66 6f 72 20 41 7a 75 72 65 00 46 69 6c 65 20 63 6f 6e 74 65 6e 74 73 20 6f 66 20 41 6e 73 e.for.Azure.File.contents.of.Ans
af60 69 62 6c 65 20 66 6f 72 20 76 53 70 68 65 72 65 00 46 69 6c 65 20 63 6f 6e 74 65 6e 74 73 20 6f ible.for.vSphere.File.contents.o
af80 66 20 54 65 72 72 61 66 6f 6d 20 66 6f 72 20 41 57 53 00 46 69 6c 65 20 63 6f 6e 74 65 6e 74 73 f.Terrafom.for.AWS.File.contents
afa0 20 6f 66 20 54 65 72 72 61 66 6f 6d 20 66 6f 72 20 41 7a 75 72 65 00 46 69 6c 65 20 63 6f 6e 74 .of.Terrafom.for.Azure.File.cont
afc0 65 6e 74 73 20 6f 66 20 54 65 72 72 61 66 6f 6d 20 66 6f 72 20 76 53 70 68 65 72 65 00 46 69 6c ents.of.Terrafom.for.vSphere.Fil
afe0 65 20 67 65 6e 65 72 61 74 65 64 20 77 69 74 68 20 70 72 65 76 69 6f 75 73 20 63 6f 6d 6d 61 6e e.generated.with.previous.comman
b000 64 3a 20 60 60 2f 74 6d 70 2f 76 79 6f 73 2d 31 2e 33 2e 30 2d 63 6c 6f 75 64 2d 69 6e 69 74 2d d:.``/tmp/vyos-1.3.0-cloud-init-
b020 31 30 47 2d 71 65 6d 75 2e 71 63 6f 77 32 60 60 00 46 69 6e 61 6c 6c 79 2c 20 66 69 6c 65 20 2a 10G-qemu.qcow2``.Finally,.file.*
b040 2a 6d 65 74 61 2d 64 61 74 61 2a 2a 20 68 61 73 20 6e 6f 20 63 6f 6e 74 65 6e 74 2c 20 62 75 74 *meta-data**.has.no.content,.but
b060 20 69 74 27 73 20 72 65 71 75 69 72 65 64 2e 00 46 69 6e 61 6c 79 2c 20 66 69 6c 65 20 2a 2a 6d .it's.required..Finaly,.file.**m
b080 65 74 61 2d 64 61 74 61 2a 2a 20 68 61 73 20 6e 6f 20 63 6f 6e 74 65 6e 74 2c 20 62 75 74 20 69 eta-data**.has.no.content,.but.i
b0a0 74 27 73 20 72 65 71 75 69 72 65 64 2e 00 46 6f 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 t's.required..For.configuration.
b0c0 61 6e 64 20 65 6e 61 62 6c 69 6e 67 20 74 68 65 20 41 50 49 20 73 65 65 20 3a 72 65 66 3a 60 68 and.enabling.the.API.see.:ref:`h
b0e0 74 74 70 2d 61 70 69 60 00 46 6f 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2f 75 70 67 72 61 ttp-api`.For.configuration/upgra
b100 64 65 20 6d 61 6e 61 67 65 6d 65 6e 74 20 69 73 73 75 65 73 2c 20 6d 6f 64 69 66 69 63 61 74 69 de.management.issues,.modificati
b120 6f 6e 20 6f 66 20 74 68 69 73 20 73 63 72 69 70 74 20 73 68 6f 75 6c 64 20 62 65 20 74 68 65 20 on.of.this.script.should.be.the.
b140 6c 61 73 74 20 6f 70 74 69 6f 6e 2e 20 41 6c 77 61 79 73 20 74 72 79 20 74 6f 20 66 69 6e 64 20 last.option..Always.try.to.find.
b160 73 6f 6c 75 74 69 6f 6e 73 20 62 61 73 65 64 20 6f 6e 20 43 4c 49 20 63 6f 6d 6d 61 6e 64 73 20 solutions.based.on.CLI.commands.
b180 66 69 72 73 74 2e 00 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 63 68 65 63 6b 20 61 6e 20 65 78 69 first..For.example,.check.an.exi
b1a0 73 74 69 6e 67 20 70 61 74 68 3a 00 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 67 65 74 20 74 68 65 sting.path:.For.example,.get.the
b1c0 20 61 64 64 72 65 73 73 65 73 20 6f 66 20 61 20 60 60 64 75 6d 30 60 60 20 69 6e 74 65 72 66 61 .addresses.of.a.``dum0``.interfa
b1e0 63 65 2e 00 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 73 68 6f 77 20 77 68 69 63 68 20 69 6d 61 67 ce..For.example,.show.which.imag
b200 65 73 20 61 72 65 20 69 6e 73 74 61 6c 6c 65 64 2e 00 46 6f 72 20 6d 6f 72 65 20 69 6e 66 6f 72 es.are.installed..For.more.infor
b220 6d 61 74 69 6f 6e 20 6f 6e 20 74 68 65 20 4e 6f 43 6c 6f 75 64 20 64 61 74 61 20 73 6f 75 72 63 mation.on.the.NoCloud.data.sourc
b240 65 2c 20 76 69 73 69 74 20 69 74 73 20 60 70 61 67 65 20 3c 68 74 74 70 73 3a 2f 2f 63 6c 6f 75 e,.visit.its.`page.<https://clou
b260 64 69 6e 69 74 2e 72 65 61 64 74 68 65 64 6f 63 73 2e 69 6f 2f 65 6e 2f 6c 61 74 65 73 74 2f 72 dinit.readthedocs.io/en/latest/r
b280 65 66 65 72 65 6e 63 65 2f 64 61 74 61 73 6f 75 72 63 65 73 2f 6e 6f 63 6c 6f 75 64 2e 68 74 6d eference/datasources/nocloud.htm
b2a0 6c 3e 60 5f 20 69 6e 20 74 68 65 20 63 6c 6f 75 64 2d 69 6e 69 74 20 64 6f 63 75 6d 65 6e 74 61 l>`_.in.the.cloud-init.documenta
b2c0 74 69 6f 6e 2e 00 46 6f 72 20 6d 6f 72 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 6f 6e 20 74 68 tion..For.more.information.on.th
b2e0 65 20 4e 6f 43 6c 6f 75 64 20 64 61 74 61 20 73 6f 75 72 63 65 2c 20 76 69 73 69 74 20 69 74 73 e.NoCloud.data.source,.visit.its
b300 20 70 61 67 65 20 60 6e 6f 63 6c 6f 75 64 60 5f 20 69 6e 20 74 68 65 20 63 6c 6f 75 64 2d 69 6e .page.`nocloud`_.in.the.cloud-in
b320 69 74 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 2e 00 46 72 6f 6d 20 63 6c 69 20 6f 72 20 47 55 it.documentation..From.cli.or.GU
b340 49 2c 20 70 6f 77 65 72 20 6f 6e 20 56 4d 2c 20 61 6e 64 20 61 66 74 65 72 20 69 74 20 62 6f 6f I,.power.on.VM,.and.after.it.boo
b360 74 73 2c 20 76 65 72 69 66 79 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 00 47 65 6e 65 72 61 6c ts,.verify.configuration.General
b380 20 63 6f 6d 6d 61 6e 64 73 20 74 68 61 74 20 77 65 20 77 69 6c 6c 20 75 73 65 20 66 6f 72 20 72 .commands.that.we.will.use.for.r
b3a0 75 6e 6e 69 6e 67 20 54 65 72 72 61 66 6f 72 6d 20 73 63 72 69 70 74 73 00 47 65 6e 65 72 61 74 unning.Terraform.scripts.Generat
b3c0 65 20 4f 62 6a 65 63 74 00 47 65 6e 65 72 61 74 65 20 71 63 6f 77 20 69 6d 61 67 65 00 47 65 74 e.Object.Generate.qcow.image.Get
b3e0 74 69 6e 67 20 53 74 61 72 74 65 64 00 48 65 72 65 20 69 73 20 61 20 73 69 6d 70 6c 65 20 65 78 ting.Started.Here.is.a.simple.ex
b400 61 6d 70 6c 65 3a 00 48 65 72 65 20 69 73 20 61 6e 20 65 78 61 6d 70 6c 65 20 63 6c 6f 75 64 2d ample:.Here.is.an.example.cloud-
b420 63 6f 6e 66 69 67 20 74 68 61 74 20 61 70 70 65 6e 64 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f config.that.appends.configuratio
b440 6e 20 61 74 20 74 68 65 20 74 69 6d 65 20 6f 66 20 66 69 72 73 74 20 62 6f 6f 74 2e 00 48 6f 77 n.at.the.time.of.first.boot..How
b460 20 74 6f 20 63 72 65 61 74 65 20 61 20 73 69 6e 67 6c 65 20 69 6e 73 74 61 6e 63 65 20 61 6e 64 .to.create.a.single.instance.and
b480 20 69 6e 73 74 61 6c 6c 20 79 6f 75 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 75 73 69 6e .install.your.configuration.usin
b4a0 67 20 54 65 72 72 61 66 6f 72 6d 2b 41 6e 73 69 62 6c 65 2b 41 57 53 20 53 74 65 70 20 62 79 20 g.Terraform+Ansible+AWS.Step.by.
b4c0 73 74 65 70 3a 00 48 6f 77 20 74 6f 20 63 72 65 61 74 65 20 61 20 73 69 6e 67 6c 65 20 69 6e 73 step:.How.to.create.a.single.ins
b4e0 74 61 6e 63 65 20 61 6e 64 20 69 6e 73 74 61 6c 6c 20 79 6f 75 72 20 63 6f 6e 66 69 67 75 72 61 tance.and.install.your.configura
b500 74 69 6f 6e 20 75 73 69 6e 67 20 54 65 72 72 61 66 6f 72 6d 2b 41 6e 73 69 62 6c 65 2b 41 7a 75 tion.using.Terraform+Ansible+Azu
b520 72 65 20 53 74 65 70 20 62 79 20 73 74 65 70 3a 00 48 6f 77 20 74 6f 20 63 72 65 61 74 65 20 61 re.Step.by.step:.How.to.create.a
b540 20 73 69 6e 67 6c 65 20 69 6e 73 74 61 6e 63 65 20 61 6e 64 20 69 6e 73 74 61 6c 6c 20 79 6f 75 .single.instance.and.install.you
b560 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 75 73 69 6e 67 20 54 65 72 72 61 66 6f 72 6d 2b r.configuration.using.Terraform+
b580 41 6e 73 69 62 6c 65 2b 56 73 70 68 65 72 65 20 53 74 65 70 20 62 79 20 73 74 65 70 3a 00 48 6f Ansible+Vsphere.Step.by.step:.Ho
b5a0 77 20 74 6f 20 63 72 65 61 74 65 20 61 20 73 69 6e 67 6c 65 20 69 6e 73 74 61 6e 63 65 20 61 6e w.to.create.a.single.instance.an
b5c0 64 20 69 6e 73 74 61 6c 6c 20 79 6f 75 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 75 73 69 d.install.your.configuration.usi
b5e0 6e 67 20 54 65 72 72 61 66 6f 72 6d 2b 41 6e 73 69 62 6c 65 2b 76 53 70 68 65 72 65 20 53 74 65 ng.Terraform+Ansible+vSphere.Ste
b600 70 20 62 79 20 73 74 65 70 3a 00 49 53 4f 20 66 69 6c 65 73 20 73 74 6f 72 61 67 65 3a 20 60 60 p.by.step:.ISO.files.storage:.``
b620 6c 6f 63 61 6c 60 60 20 76 6f 6c 75 6d 65 20 69 73 20 75 73 65 64 20 66 6f 72 20 60 60 2e 69 73 local``.volume.is.used.for.``.is
b640 6f 60 60 20 66 69 6c 65 20 73 74 6f 72 61 67 65 2e 20 49 6e 20 74 68 69 73 20 73 63 65 6e 61 72 o``.file.storage..In.this.scenar
b660 69 6f 20 60 60 6c 6f 63 61 6c 60 60 20 76 6f 6c 75 6d 65 20 74 79 70 65 20 69 73 20 73 65 74 20 io.``local``.volume.type.is.set.
b680 74 6f 20 2a 2a 64 69 72 65 63 74 6f 72 79 2a 2a 2c 20 61 62 64 20 61 74 74 61 63 68 65 64 20 74 to.**directory**,.abd.attached.t
b6a0 6f 20 60 60 2f 76 61 72 2f 6c 69 62 2f 76 7a 60 60 2e 00 49 66 20 63 6f 6d 6d 61 6e 64 20 65 6e o.``/var/lib/vz``..If.command.en
b6c0 64 73 20 69 6e 20 61 20 76 61 6c 75 65 2c 20 69 74 20 6d 75 73 74 20 62 65 20 69 6e 73 69 64 65 ds.in.a.value,.it.must.be.inside
b6e0 20 73 69 6e 67 6c 65 20 71 75 6f 74 65 73 2e 00 49 66 20 6e 6f 20 6e 65 74 77 6f 72 6b 69 6e 67 .single.quotes..If.no.networking
b700 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 73 20 70 72 6f 76 69 64 65 64 2c 20 74 68 65 6e .configuration.is.provided,.then
b720 20 64 68 63 70 20 63 6c 69 65 6e 74 20 69 73 20 67 6f 69 6e 67 20 74 6f 20 62 65 20 65 6e 61 62 .dhcp.client.is.going.to.be.enab
b740 6c 65 64 20 6f 6e 20 66 69 72 73 74 20 69 6e 74 65 72 66 61 63 65 2e 20 42 61 72 65 20 69 6e 20 led.on.first.interface..Bare.in.
b760 6d 69 6e 64 20 74 68 61 74 20 74 68 69 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 77 69 6c mind.that.this.configuration.wil
b780 6c 20 62 65 20 69 6e 79 65 63 74 65 64 20 61 74 20 61 6e 20 4f 53 20 6c 65 76 65 6c 2c 20 73 6f l.be.inyected.at.an.OS.level,.so
b7a0 20 64 6f 6e 27 74 20 65 78 70 65 63 74 20 74 6f 20 66 69 6e 64 20 64 68 63 70 20 63 6c 69 65 6e .don't.expect.to.find.dhcp.clien
b7c0 74 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 6f 6e 20 76 79 6f 73 20 63 6c 69 2e 20 42 65 63 t.configuration.on.vyos.cli..Bec
b7e0 61 75 73 65 20 6f 66 20 74 68 69 73 20 62 65 68 61 76 69 6f 72 2c 20 69 6e 20 6e 65 78 74 20 65 ause.of.this.behavior,.in.next.e
b800 78 61 6d 70 6c 65 20 6c 61 62 20 77 65 20 77 69 6c 6c 20 64 69 73 61 62 6c 65 20 64 68 63 70 2d xample.lab.we.will.disable.dhcp-
b820 63 6c 69 65 6e 74 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 6f 6e 20 65 74 68 30 2e 00 49 66 client.configuration.on.eth0..If
b840 20 79 6f 75 20 65 6e 63 6f 75 6e 74 65 72 20 70 72 6f 62 6c 65 6d 73 2c 20 76 65 72 69 66 79 20 .you.encounter.problems,.verify.
b860 74 68 61 74 20 74 68 65 20 63 6c 6f 75 64 2d 63 6f 6e 66 69 67 20 64 6f 63 75 6d 65 6e 74 20 63 that.the.cloud-config.document.c
b880 6f 6e 74 61 69 6e 73 20 76 61 6c 69 64 20 59 41 4d 4c 2e 20 4f 6e 6c 69 6e 65 20 72 65 73 6f 75 ontains.valid.YAML..Online.resou
b8a0 72 63 65 73 20 73 75 63 68 20 61 73 20 68 74 74 70 73 3a 2f 2f 77 77 77 2e 79 61 6d 6c 6c 69 6e rces.such.as.https://www.yamllin
b8c0 74 2e 63 6f 6d 2f 20 70 72 6f 76 69 64 65 20 61 20 73 69 6d 70 6c 65 20 74 6f 6f 6c 20 66 6f 72 t.com/.provide.a.simple.tool.for
b8e0 20 76 61 6c 69 64 61 74 69 6e 67 20 59 41 4d 4c 2e 00 49 66 20 79 6f 75 20 6e 65 65 64 20 74 6f .validating.YAML..If.you.need.to
b900 20 67 61 74 68 65 72 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 6c 69 6e 75 78 20 63 .gather.information.from.linux.c
b920 6f 6d 6d 61 6e 64 73 20 74 6f 20 63 6f 6e 66 69 67 75 72 65 20 56 79 4f 53 2c 20 79 6f 75 20 63 ommands.to.configure.VyOS,.you.c
b940 61 6e 20 65 78 65 63 75 74 65 20 63 6f 6d 6d 61 6e 64 73 20 61 6e 64 20 74 68 65 6e 20 63 6f 6e an.execute.commands.and.then.con
b960 66 69 67 75 72 65 20 56 79 4f 53 20 69 6e 20 74 68 65 20 73 61 6d 65 20 73 63 72 69 70 74 2e 00 figure.VyOS.in.the.same.script..
b980 49 66 20 79 6f 75 20 77 61 6e 74 20 74 6f 20 73 63 72 69 70 74 20 74 68 65 20 63 6f 6e 66 69 67 If.you.want.to.script.the.config
b9a0 73 20 69 6e 20 61 20 6c 61 6e 67 75 61 67 65 20 6f 74 68 65 72 20 74 68 61 6e 20 62 61 73 68 20 s.in.a.language.other.than.bash.
b9c0 79 6f 75 20 63 61 6e 20 68 61 76 65 20 79 6f 75 72 20 73 63 72 69 70 74 20 6f 75 74 70 75 74 20 you.can.have.your.script.output.
b9e0 63 6f 6d 6d 61 6e 64 73 20 61 6e 64 20 74 68 65 6e 20 73 6f 75 72 63 65 20 74 68 65 6d 20 69 6e commands.and.then.source.them.in
ba00 20 61 20 62 61 73 68 20 73 63 72 69 70 74 2e 00 49 6d 70 6f 72 74 69 6e 67 20 61 6e 64 20 44 69 .a.bash.script..Importing.and.Di
ba20 73 61 62 6c 69 6e 67 20 57 61 72 6e 69 6e 67 73 20 66 6f 72 20 76 65 72 69 66 79 3d 46 61 6c 73 sabling.Warnings.for.verify=Fals
ba40 65 00 49 6e 20 50 72 6f 78 6d 6f 78 20 73 65 72 76 65 72 20 74 68 72 65 65 20 66 69 6c 65 73 20 e.In.Proxmox.server.three.files.
ba60 61 72 65 20 67 6f 69 6e 67 20 74 6f 20 62 65 20 75 73 65 64 20 66 6f 72 20 74 68 69 73 20 73 65 are.going.to.be.used.for.this.se
ba80 74 75 70 3a 00 49 6e 20 56 79 4f 53 2c 20 62 79 20 64 65 66 61 75 6c 74 2c 20 65 6e 61 62 6c 65 tup:.In.VyOS,.by.default,.enable
baa0 73 20 6f 6e 6c 79 20 74 77 6f 20 6d 6f 64 75 6c 65 73 3a 00 49 6e 20 74 68 69 73 20 63 61 73 65 s.only.two.modules:.In.this.case
bac0 2c 20 77 65 27 6c 6c 20 63 72 65 61 74 65 20 74 68 65 20 6e 65 63 65 73 73 61 72 79 20 66 69 6c ,.we'll.create.the.necessary.fil
bae0 65 73 20 66 6f 72 20 54 65 72 72 61 66 6f 72 6d 20 61 6e 64 20 41 6e 73 69 62 6c 65 20 6e 65 78 es.for.Terraform.and.Ansible.nex
bb00 74 20 75 73 69 6e 67 20 54 65 72 72 61 66 6f 72 6d 20 77 65 27 6c 6c 20 63 72 65 61 74 65 20 61 t.using.Terraform.we'll.create.a
bb20 20 73 69 6e 67 6c 65 20 69 6e 73 74 61 6e 63 65 20 6f 6e 20 74 68 65 20 41 57 53 20 63 6c 6f 75 .single.instance.on.the.AWS.clou
bb40 64 20 61 6e 64 20 6d 61 6b 65 20 70 72 6f 76 69 73 69 6f 6e 69 6e 67 20 75 73 69 6e 67 20 41 6e d.and.make.provisioning.using.An
bb60 73 69 62 6c 65 2e 00 49 6e 20 74 68 69 73 20 63 61 73 65 2c 20 77 65 27 6c 6c 20 63 72 65 61 74 sible..In.this.case,.we'll.creat
bb80 65 20 74 68 65 20 6e 65 63 65 73 73 61 72 79 20 66 69 6c 65 73 20 66 6f 72 20 54 65 72 72 61 66 e.the.necessary.files.for.Terraf
bba0 6f 72 6d 20 61 6e 64 20 41 6e 73 69 62 6c 65 20 6e 65 78 74 20 75 73 69 6e 67 20 54 65 72 72 61 orm.and.Ansible.next.using.Terra
bbc0 66 6f 72 6d 20 77 65 27 6c 6c 20 63 72 65 61 74 65 20 61 20 73 69 6e 67 6c 65 20 69 6e 73 74 61 form.we'll.create.a.single.insta
bbe0 6e 63 65 20 6f 6e 20 74 68 65 20 41 7a 75 72 65 20 63 6c 6f 75 64 20 61 6e 64 20 6d 61 6b 65 20 nce.on.the.Azure.cloud.and.make.
bc00 70 72 6f 76 69 73 69 6f 6e 69 6e 67 20 75 73 69 6e 67 20 41 6e 73 69 62 6c 65 2e 00 49 6e 20 74 provisioning.using.Ansible..In.t
bc20 68 69 73 20 63 61 73 65 2c 20 77 65 27 6c 6c 20 63 72 65 61 74 65 20 74 68 65 20 6e 65 63 65 73 his.case,.we'll.create.the.neces
bc40 73 61 72 79 20 66 69 6c 65 73 20 66 6f 72 20 54 65 72 72 61 66 6f 72 6d 20 61 6e 64 20 41 6e 73 sary.files.for.Terraform.and.Ans
bc60 69 62 6c 65 20 6e 65 78 74 20 75 73 69 6e 67 20 54 65 72 72 61 66 6f 72 6d 20 77 65 27 6c 6c 20 ible.next.using.Terraform.we'll.
bc80 63 72 65 61 74 65 20 61 20 73 69 6e 67 6c 65 20 69 6e 73 74 61 6e 63 65 20 6f 6e 20 74 68 65 20 create.a.single.instance.on.the.
bca0 76 53 70 68 65 72 65 20 63 6c 6f 75 64 20 61 6e 64 20 6d 61 6b 65 20 70 72 6f 76 69 73 69 6f 6e vSphere.cloud.and.make.provision
bcc0 69 6e 67 20 75 73 69 6e 67 20 41 6e 73 69 62 6c 65 2e 00 49 6e 20 74 68 69 73 20 6c 61 62 2c 20 ing.using.Ansible..In.this.lab,.
bce0 61 6c 6c 20 66 69 6c 65 73 20 61 72 65 20 6c 6f 63 61 74 65 64 20 69 6e 20 60 60 2f 74 6d 70 2f all.files.are.located.in.``/tmp/
bd00 60 60 2e 20 53 6f 2c 20 62 65 66 6f 72 65 20 67 6f 69 6e 67 20 6f 6e 2c 20 6c 65 74 73 20 6d 6f ``..So,.before.going.on,.lets.mo
bd20 76 65 20 74 6f 20 74 68 61 74 20 64 69 72 65 63 74 6f 72 79 3a 00 49 6e 20 74 68 69 73 20 6c 61 ve.to.that.directory:.In.this.la
bd40 62 2c 20 77 65 20 61 72 65 20 75 73 69 6e 67 20 31 2e 33 2e 30 20 56 79 4f 53 20 76 65 72 73 69 b,.we.are.using.1.3.0.VyOS.versi
bd60 6f 6e 20 61 6e 64 20 73 65 74 74 69 6e 67 20 61 20 64 69 73 6b 20 6f 66 20 31 30 47 2e 20 44 6f on.and.setting.a.disk.of.10G..Do
bd80 77 6e 6c 6f 61 64 20 56 79 4f 53 20 2e 69 73 6f 20 66 69 6c 65 20 61 6e 64 20 73 61 76 65 20 69 wnload.VyOS..iso.file.and.save.i
bda0 74 20 61 73 20 60 60 2f 74 6d 70 2f 76 79 6f 73 2e 69 73 6f 60 60 2e 20 43 6f 6d 6d 61 6e 64 20 t.as.``/tmp/vyos.iso``..Command.
bdc0 75 73 65 64 20 66 6f 72 20 67 65 6e 65 72 61 74 69 6e 67 20 71 63 6f 77 20 69 6d 61 67 65 3a 00 used.for.generating.qcow.image:.
bde0 49 6e 69 74 69 61 6c 20 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 00 49 6e 69 74 69 61 6c 69 7a 69 Initial.Configuration.Initializi
be00 6e 67 20 61 20 56 79 44 65 76 69 63 65 20 4f 62 6a 65 63 74 00 49 6e 6a 65 63 74 69 6e 67 20 63 ng.a.VyDevice.Object.Injecting.c
be20 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 64 61 74 61 20 69 73 20 6e 6f 74 20 6c 69 6d 69 74 65 64 onfiguration.data.is.not.limited
be40 20 74 6f 20 63 6c 6f 75 64 20 70 6c 61 74 66 6f 72 6d 73 2e 20 55 73 65 72 73 20 63 61 6e 20 65 .to.cloud.platforms..Users.can.e
be60 6d 70 6c 6f 79 20 74 68 65 20 4e 6f 43 6c 6f 75 64 20 64 61 74 61 20 73 6f 75 72 63 65 20 74 6f mploy.the.NoCloud.data.source.to
be80 20 69 6e 6a 65 63 74 20 75 73 65 72 2d 64 61 74 61 20 61 6e 64 20 6d 65 74 61 2d 64 61 74 61 20 .inject.user-data.and.meta-data.
bea0 6f 6e 20 76 69 72 74 75 61 6c 69 7a 61 74 69 6f 6e 20 70 6c 61 74 66 6f 72 6d 73 20 73 75 63 68 on.virtualization.platforms.such
bec0 20 61 73 20 56 4d 77 61 72 65 2c 20 48 79 70 65 72 2d 56 20 61 6e 64 20 4b 56 4d 2e 00 49 6e 73 .as.VMware,.Hyper-V.and.KVM..Ins
bee0 74 61 6c 6c 20 60 60 6e 61 70 61 6c 6d 2d 76 79 6f 73 60 60 20 6d 6f 64 75 6c 65 00 49 6e 73 74 tall.``napalm-vyos``.module.Inst
bf00 61 6c 6c 61 74 69 6f 6e 00 49 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 63 6f 6e 66 69 allation.It.is.possible.to.confi
bf20 67 75 72 65 20 56 79 4f 53 20 76 69 61 20 6e 65 74 6d 69 6b 6f 5f 20 70 72 6f 78 79 20 6d 6f 64 gure.VyOS.via.netmiko_.proxy.mod
bf40 75 6c 65 2e 20 49 74 20 72 65 71 75 69 72 65 73 20 61 20 6d 69 6e 69 6f 6e 20 77 69 74 68 20 69 ule..It.requires.a.minion.with.i
bf60 6e 73 74 61 6c 6c 65 64 20 70 61 63 6b 65 74 20 20 60 60 70 79 74 68 6f 6e 33 2d 6e 65 74 6d 69 nstalled.packet..``python3-netmi
bf80 6b 6f 60 60 20 6d 6f 64 75 6c 65 20 77 68 6f 20 68 61 73 20 61 20 63 6f 6e 6e 65 63 74 69 6f 6e ko``.module.who.has.a.connection
bfa0 20 74 6f 20 56 79 4f 53 20 6e 6f 64 65 73 2e 20 53 61 6c 74 2d 6d 69 6e 69 6f 6e 20 68 61 76 65 .to.VyOS.nodes..Salt-minion.have
bfc0 20 74 6f 20 63 6f 6d 6d 75 6e 69 63 61 74 65 20 77 69 74 68 20 73 61 6c 74 20 6d 61 73 74 65 72 .to.communicate.with.salt.master
bfe0 00 4d 61 6a 6f 72 20 63 6c 6f 75 64 20 70 72 6f 76 69 64 65 72 73 20 6f 66 66 65 72 20 61 20 6d .Major.cloud.providers.offer.a.m
c000 65 61 6e 73 20 6f 66 20 70 72 6f 76 69 64 69 6e 67 20 75 73 65 72 2d 64 61 74 61 20 61 74 20 74 eans.of.providing.user-data.at.t
c020 68 65 20 74 69 6d 65 20 6f 66 20 69 6e 73 74 61 6e 63 65 20 6c 61 75 6e 63 68 2e 20 49 74 20 63 he.time.of.instance.launch..It.c
c040 61 6e 20 62 65 20 70 72 6f 76 69 64 65 64 20 61 73 20 70 6c 61 69 6e 20 74 65 78 74 20 6f 72 20 an.be.provided.as.plain.text.or.
c060 61 73 20 62 61 73 65 36 34 2d 65 6e 63 6f 64 65 64 20 74 65 78 74 2c 20 64 65 70 65 6e 64 69 6e as.base64-encoded.text,.dependin
c080 67 20 6f 6e 20 63 6c 6f 75 64 20 70 72 6f 76 69 64 65 72 2e 20 41 6c 73 6f 2c 20 69 74 20 63 61 g.on.cloud.provider..Also,.it.ca
c0a0 6e 20 62 65 20 63 6f 6d 70 72 65 73 73 65 64 20 75 73 69 6e 67 20 67 7a 69 70 2c 20 77 68 69 63 n.be.compressed.using.gzip,.whic
c0c0 68 20 6d 61 6b 65 73 20 73 65 6e 73 65 20 77 69 74 68 20 61 20 6c 6f 6e 67 20 63 6f 6e 66 69 67 h.makes.sense.with.a.long.config
c0e0 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 6c 69 73 74 2c 20 62 65 63 61 75 73 65 20 6f uration.commands.list,.because.o
c100 66 20 74 68 65 20 68 61 72 64 20 6c 69 6d 69 74 20 74 6f 20 7e 31 36 33 38 34 20 62 79 74 65 73 f.the.hard.limit.to.~16384.bytes
c120 20 66 6f 72 20 74 68 65 20 77 68 6f 6c 65 20 75 73 65 72 2d 64 61 74 61 2e 00 4d 61 6b 65 20 73 .for.the.whole.user-data..Make.s
c140 75 72 65 20 74 68 61 74 20 41 6e 73 69 62 6c 65 20 69 73 20 70 69 6e 67 69 6e 67 20 66 72 6f 6d ure.that.Ansible.is.pinging.from
c160 20 54 65 72 72 61 66 6f 6d 2e 00 4d 65 74 61 64 61 74 61 20 2d 20 4d 65 74 61 64 61 74 61 20 69 .Terrafom..Metadata.-.Metadata.i
c180 73 20 73 6f 75 72 63 65 64 20 62 79 20 74 68 65 20 63 6c 6f 75 64 20 70 6c 61 74 66 6f 72 6d 20 s.sourced.by.the.cloud.platform.
c1a0 6f 72 20 68 79 70 65 72 76 69 73 6f 72 2e 20 49 6e 20 73 6f 6d 65 20 63 6c 6f 75 64 73 2c 20 74 or.hypervisor..In.some.clouds,.t
c1c0 68 65 72 65 20 69 73 20 69 6d 70 6c 65 6d 65 6e 74 65 64 20 61 73 20 61 6e 20 48 54 54 50 20 65 here.is.implemented.as.an.HTTP.e
c1e0 6e 64 70 6f 69 6e 74 20 61 74 20 60 60 68 74 74 70 3a 2f 2f 31 36 39 2e 32 35 34 2e 31 36 39 2e ndpoint.at.``http://169.254.169.
c200 32 35 34 60 60 2e 00 4d 6f 73 74 20 69 6d 70 6f 72 74 61 6e 74 20 6b 65 79 73 20 74 68 61 74 20 254``..Most.important.keys.that.
c220 6e 65 65 64 73 20 74 6f 20 62 65 20 63 6f 6e 73 69 64 65 72 65 64 3a 00 4e 61 70 61 6c 6d 00 4e needs.to.be.considered:.Napalm.N
c240 65 65 64 20 74 6f 20 69 6e 73 74 61 6c 6c 5f 20 54 65 72 72 61 66 6f 72 6d 00 4e 65 74 6d 69 6b eed.to.install_.Terraform.Netmik
c260 6f 00 4e 65 74 6d 69 6b 6f 2d 70 72 6f 78 79 00 4e 65 74 77 6f 72 6b 20 54 6f 70 6f 6c 6f 67 79 o.Netmiko-proxy.Network.Topology
c280 20 44 69 61 67 72 61 6d 00 4e 65 74 77 6f 72 6b 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 2d .Diagram.Network.configuration.-
c2a0 20 54 68 69 73 20 63 6f 6e 66 69 67 20 73 6f 75 72 63 65 20 69 6e 66 6f 72 6d 73 20 74 68 65 20 .This.config.source.informs.the.
c2c0 73 79 73 74 65 6d 20 61 62 6f 75 74 20 74 68 65 20 6e 65 74 77 6f 72 6b 20 73 65 74 74 69 6e 67 system.about.the.network.setting
c2e0 73 20 6c 69 6b 65 20 49 50 20 61 64 64 72 65 73 73 65 73 2c 20 72 6f 75 74 65 73 2c 20 44 4e 53 s.like.IP.addresses,.routes,.DNS
c300 2e 20 41 76 61 69 6c 61 62 6c 65 20 6f 6e 6c 79 20 69 6e 20 73 65 76 65 72 61 6c 20 63 6c 6f 75 ..Available.only.in.several.clou
c320 64 20 61 6e 64 20 76 69 72 74 75 61 6c 69 7a 61 74 69 6f 6e 20 70 6c 61 74 66 6f 72 6d 73 2e 00 d.and.virtualization.platforms..
c340 4e 65 74 77 6f 72 6b 69 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 73 20 73 68 6f 75 6c 64 Networking.configurations.should
c360 6e 27 74 20 62 65 20 70 61 73 73 65 64 20 69 6e 20 75 73 65 72 2d 64 61 74 61 20 66 69 6c 65 2e n't.be.passed.in.user-data.file.
c380 00 4e 6f 43 6c 6f 75 64 00 4e 6f 72 6e 69 72 00 4e 6f 74 65 20 74 68 61 74 20 74 68 65 20 2f 6f .NoCloud.Nornir.Note.that.the./o
c3a0 70 74 2f 76 79 61 74 74 61 2f 65 74 63 2f 63 6f 6e 66 69 67 20 69 73 20 75 73 65 64 20 69 6e 73 pt/vyatta/etc/config.is.used.ins
c3c0 74 65 61 64 20 6f 66 20 74 68 65 20 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 74 73 20 64 69 72 65 tead.of.the./config/scripts.dire
c3e0 63 74 6f 72 79 20 72 65 66 65 72 65 6e 63 65 64 20 69 6e 20 74 68 65 20 3a 72 65 66 3a 60 63 6f ctory.referenced.in.the.:ref:`co
c400 6d 6d 61 6e 64 2d 73 63 72 69 70 74 69 6e 67 60 20 73 65 63 74 69 6f 6e 20 6f 66 20 74 68 65 20 mmand-scripting`.section.of.the.
c420 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 62 65 63 61 75 73 65 20 74 68 65 20 2f 63 6f 6e 66 69 documentation.because.the./confi
c440 67 2f 73 63 72 69 70 74 20 64 69 72 65 63 74 6f 72 79 20 69 73 6e 27 74 20 6d 6f 75 6e 74 65 64 g/script.directory.isn't.mounted
c460 20 77 68 65 6e 20 74 68 65 20 60 60 77 72 69 74 65 5f 66 69 6c 65 73 60 60 20 6d 6f 64 75 6c 65 .when.the.``write_files``.module
c480 20 65 78 65 63 75 74 65 73 2e 00 4e 6f 74 65 73 20 66 6f 72 20 74 68 69 73 20 70 61 72 74 69 63 .executes..Notes.for.this.partic
c4a0 75 6c 61 72 20 65 78 61 6d 70 6c 65 2c 20 74 68 61 74 20 6d 61 79 20 6e 65 65 64 20 74 6f 20 62 ular.example,.that.may.need.to.b
c4c0 65 20 6d 6f 64 69 66 69 65 64 20 69 6e 20 6f 74 68 65 72 20 73 65 74 75 70 73 3a 00 4e 6f 77 2c e.modified.in.other.setups:.Now,
c4e0 20 74 68 61 74 20 66 69 6c 65 20 6e 65 65 64 73 20 74 6f 20 62 65 20 63 6f 70 69 65 64 20 74 6f .that.file.needs.to.be.copied.to
c500 20 70 72 6f 78 6d 6f 78 20 73 65 72 76 65 72 3a 00 4f 6e 20 56 79 4f 53 20 74 68 69 73 20 77 69 .proxmox.server:.On.VyOS.this.wi
c520 6c 6c 20 63 61 75 73 65 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 70 72 6f 62 6c 65 6d 3a 20 ll.cause.the.following.problem:.
c540 41 66 74 65 72 20 6d 6f 64 69 66 79 69 6e 67 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f After.modifying.the.configuratio
c560 6e 20 76 69 61 20 73 63 72 69 70 74 20 6c 69 6b 65 20 74 68 69 73 20 6f 6e 63 65 2c 20 69 74 20 n.via.script.like.this.once,.it.
c580 69 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 6d 61 6e 75 61 6c 6c 79 20 6d 6f 64 69 is.not.possible.to.manually.modi
c5a0 66 79 20 74 68 65 20 63 6f 6e 66 69 67 20 61 6e 79 6d 6f 72 65 3a 00 4f 6e 20 70 72 6f 78 6d 6f fy.the.config.anymore:.On.proxmo
c5c0 78 20 73 65 72 76 65 72 3a 00 4f 6e 63 65 20 74 68 65 20 74 68 72 65 65 20 66 69 6c 65 73 20 77 x.server:.Once.the.three.files.w
c5e0 65 72 65 20 63 72 65 61 74 65 64 2c 20 69 74 27 73 20 74 69 6d 65 20 74 6f 20 67 65 6e 65 72 61 ere.created,.it's.time.to.genera
c600 74 65 20 74 68 65 20 60 60 73 65 65 64 2e 69 73 6f 60 60 20 69 6d 61 67 65 2c 20 77 68 69 63 68 te.the.``seed.iso``.image,.which
c620 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6d 6f 75 6e 74 65 64 20 74 6f 20 74 68 65 20 6e 65 77 20 .needs.to.be.mounted.to.the.new.
c640 56 4d 20 61 73 20 61 20 63 64 2e 00 4f 6e 65 20 63 6f 6d 6d 61 6e 64 20 70 65 72 20 6c 69 6e 65 VM.as.a.cd..One.command.per.line
c660 2e 00 4f 70 2d 6d 6f 64 65 00 4f 74 68 65 72 20 73 63 72 69 70 74 20 6c 61 6e 67 75 61 67 65 73 ..Op-mode.Other.script.languages
c680 00 4f 75 74 70 75 74 00 4f 75 74 70 75 74 20 6f 70 2d 6d 6f 64 65 00 50 6c 65 61 73 65 20 74 61 .Output.Output.op-mode.Please.ta
c6a0 6b 65 20 61 20 6c 6f 6f 6b 20 61 74 20 74 68 65 20 43 6f 6e 74 72 69 62 75 74 69 6e 67 20 47 75 ke.a.look.at.the.Contributing.Gu
c6c0 69 64 65 20 66 6f 72 20 6f 75 72 20 3a 72 65 66 3a 60 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 60 ide.for.our.:ref:`documentation`
c6e0 2e 00 50 6f 73 74 63 6f 6e 66 69 67 20 6f 6e 20 62 6f 6f 74 00 50 6f 77 65 72 20 6f 6e 20 56 4d ..Postconfig.on.boot.Power.on.VM
c700 20 61 6e 64 20 76 65 72 69 66 69 63 61 74 69 6f 6e 73 00 50 72 65 63 6f 6e 66 69 67 20 6f 6e 20 .and.verifications.Preconfig.on.
c720 62 6f 6f 74 00 50 72 65 70 61 72 61 74 69 6f 6e 20 73 74 65 70 73 20 66 6f 72 20 64 65 70 6c 6f boot.Preparation.steps.for.deplo
c740 79 69 6e 67 20 56 79 4f 53 20 6f 6e 20 41 57 53 00 50 72 65 70 61 72 61 74 69 6f 6e 20 73 74 65 ying.VyOS.on.AWS.Preparation.ste
c760 70 73 20 66 6f 72 20 64 65 70 6c 6f 79 69 6e 67 20 56 79 4f 53 20 6f 6e 20 41 7a 75 72 65 00 50 ps.for.deploying.VyOS.on.Azure.P
c780 72 65 70 61 72 61 74 69 6f 6e 20 73 74 65 70 73 20 66 6f 72 20 64 65 70 6c 6f 79 69 6e 67 20 56 reparation.steps.for.deploying.V
c7a0 79 4f 53 20 6f 6e 20 76 53 70 68 65 72 65 00 50 72 65 70 61 72 65 20 63 6c 6f 75 64 2d 69 6e 69 yOS.on.vSphere.Prepare.cloud-ini
c7c0 74 20 66 69 6c 65 73 00 50 72 6f 78 6d 6f 78 20 49 50 20 61 64 64 72 65 73 73 3a 20 2a 2a 31 39 t.files.Proxmox.IP.address:.**19
c7e0 32 2e 31 36 38 2e 30 2e 32 35 33 2f 32 34 2a 2a 00 50 72 6f 78 6d 6f 78 20 60 43 6c 6f 75 64 2d 2.168.0.253/24**.Proxmox.`Cloud-
c800 69 6e 69 74 2d 53 75 70 70 6f 72 74 60 5f 2e 00 50 79 56 79 4f 53 00 50 79 56 79 4f 53 20 69 73 init-Support`_..PyVyOS.PyVyOS.is
c820 20 61 20 50 79 74 68 6f 6e 20 6c 69 62 72 61 72 79 20 66 6f 72 20 69 6e 74 65 72 61 63 74 69 6e .a.Python.library.for.interactin
c840 67 20 77 69 74 68 20 56 79 4f 53 20 64 65 76 69 63 65 73 20 76 69 61 20 74 68 65 69 72 20 41 50 g.with.VyOS.devices.via.their.AP
c860 49 2e 20 54 68 69 73 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 67 75 69 64 65 73 20 79 6f 75 I..This.documentation.guides.you
c880 20 6f 6e 20 75 73 69 6e 67 20 50 79 56 79 4f 53 20 74 6f 20 6d 61 6e 61 67 65 20 79 6f 75 72 20 .on.using.PyVyOS.to.manage.your.
c8a0 56 79 4f 53 20 64 65 76 69 63 65 73 20 70 72 6f 67 72 61 6d 6d 61 74 69 63 61 6c 6c 79 2e 20 54 VyOS.devices.programmatically..T
c8c0 68 65 20 63 6f 6d 70 6c 65 74 65 20 50 79 56 79 4f 53 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e he.complete.PyVyOS.documentation
c8e0 20 69 73 20 61 76 61 69 6c 61 62 6c 65 20 6f 6e 20 5b 52 65 61 64 20 74 68 65 20 44 6f 63 73 5d .is.available.on.[Read.the.Docs]
c900 28 68 74 74 70 73 3a 2f 2f 70 79 76 79 6f 73 2e 72 65 61 64 74 68 65 64 6f 63 73 2e 69 6f 2f 65 (https://pyvyos.readthedocs.io/e
c920 6e 2f 6c 61 74 65 73 74 2f 29 2c 20 61 6e 64 20 74 68 65 20 6c 69 62 72 61 72 79 20 63 61 6e 20 n/latest/),.and.the.library.can.
c940 62 65 20 66 6f 75 6e 64 20 6f 6e 20 5b 47 69 74 48 75 62 5d 28 68 74 74 70 73 3a 2f 2f 67 69 74 be.found.on.[GitHub](https://git
c960 68 75 62 2e 63 6f 6d 2f 72 6f 62 65 72 74 6f 62 65 72 74 6f 2f 70 79 76 79 6f 73 29 20 61 6e 64 hub.com/robertoberto/pyvyos).and
c980 20 5b 50 79 50 49 5d 28 68 74 74 70 73 3a 2f 2f 70 79 70 69 2e 6f 72 67 2f 70 72 6f 6a 65 63 74 .[PyPI](https://pypi.org/project
c9a0 2f 70 79 76 79 6f 73 2f 29 2e 00 52 65 66 65 72 65 6e 63 65 73 00 52 65 6d 6f 76 65 20 64 65 66 /pyvyos/)..References.Remove.def
c9c0 61 75 6c 74 20 64 68 63 70 20 63 6c 69 65 6e 74 20 6f 6e 20 66 69 72 73 74 20 69 6e 74 65 72 66 ault.dhcp.client.on.first.interf
c9e0 61 63 65 2c 20 61 6e 64 20 6c 6f 61 64 20 6f 74 68 65 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f ace,.and.load.other.configuratio
ca00 6e 20 64 75 72 69 6e 67 20 66 69 72 73 74 20 62 6f 6f 74 2c 20 75 73 69 6e 67 20 63 6c 6f 75 64 n.during.first.boot,.using.cloud
ca20 2d 69 6e 69 74 2e 00 52 65 73 65 74 20 4f 62 6a 65 63 74 00 52 75 6e 20 54 65 72 72 61 66 6f 72 -init..Reset.Object.Run.Terrafor
ca40 6d 00 52 75 6e 20 61 6e 73 69 62 6c 65 00 52 75 6e 20 63 6f 6d 6d 61 6e 64 73 20 72 65 6d 6f 74 m.Run.ansible.Run.commands.remot
ca60 65 6c 79 00 52 75 6e 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 00 52 ely.Run.configuration.commands.R
ca80 75 6e 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 63 6f 6d 6d 61 6e 64 73 00 53 53 48 20 69 73 20 63 un.operational.commands.SSH.is.c
caa0 6f 6e 66 69 67 75 72 65 64 20 6f 6e 20 70 6f 72 74 20 32 32 2e 00 53 61 6c 74 00 53 61 6c 74 20 onfigured.on.port.22..Salt.Salt.
cac0 6d 61 73 74 65 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 3a 00 53 61 76 65 20 61 20 72 75 6e master.configuration:.Save.a.run
cae0 6e 69 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 74 6f 20 61 20 66 69 6c 65 2e 00 53 61 ning.configuration.to.a.file..Sa
cb00 76 65 20 61 20 72 75 6e 6e 69 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 74 6f 20 74 68 ve.a.running.configuration.to.th
cb20 65 20 73 74 61 72 74 75 70 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 20 57 68 65 6e 20 79 6f e.startup.configuration..When.yo
cb40 75 20 64 6f 6e 27 74 20 73 70 65 63 69 66 79 20 74 68 65 20 66 69 6c 65 20 77 68 65 6e 20 73 61 u.don't.specify.the.file.when.sa
cb60 76 69 6e 67 2c 20 69 74 20 73 61 76 65 73 20 74 6f 20 60 60 2f 63 6f 6e 66 69 67 2f 63 6f 6e 66 ving,.it.saves.to.``/config/conf
cb80 69 67 2e 62 6f 6f 74 60 60 2e 00 53 63 72 69 70 74 20 76 79 6f 73 2d 6e 61 70 61 6c 6d 2e 70 79 ig.boot``..Script.vyos-napalm.py
cba0 00 53 63 72 69 70 74 73 20 61 72 65 20 72 75 6e 20 69 6e 20 61 6c 70 68 61 62 65 74 69 63 61 6c .Scripts.are.run.in.alphabetical
cbc0 20 6f 72 64 65 72 2e 20 54 68 65 69 72 20 6e 61 6d 65 73 20 6d 75 73 74 20 63 6f 6e 73 69 73 74 .order..Their.names.must.consist
cbe0 20 65 6e 74 69 72 65 6c 79 20 6f 66 20 41 53 43 49 49 20 75 70 70 65 72 2d 20 61 6e 64 20 6c 6f .entirely.of.ASCII.upper-.and.lo
cc00 77 65 72 2d 63 61 73 65 20 6c 65 74 74 65 72 73 2c 41 53 43 49 49 20 64 69 67 69 74 73 2c 20 41 wer-case.letters,ASCII.digits,.A
cc20 53 43 49 49 20 75 6e 64 65 72 73 63 6f 72 65 73 2c 20 61 6e 64 20 41 53 43 49 49 20 6d 69 6e 75 SCII.underscores,.and.ASCII.minu
cc40 73 2d 68 79 70 68 65 6e 73 2e 4e 6f 20 6f 74 68 65 72 20 63 68 61 72 61 63 74 65 72 73 20 61 72 s-hyphens.No.other.characters.ar
cc60 65 20 61 6c 6c 6f 77 65 64 2e 00 53 68 6f 77 20 4f 62 6a 65 63 74 00 53 6f 6d 65 74 69 6d 65 73 e.allowed..Show.Object.Sometimes
cc80 20 79 6f 75 20 73 69 6d 70 6c 79 20 77 61 6e 27 74 20 74 6f 20 65 78 65 63 75 74 65 20 61 20 62 .you.simply.wan't.to.execute.a.b
cca0 75 6e 63 68 20 6f 66 20 6f 70 2d 6d 6f 64 65 20 63 6f 6d 6d 61 6e 64 73 20 76 69 61 20 53 53 48 unch.of.op-mode.commands.via.SSH
ccc0 20 6f 6e 20 61 20 72 65 6d 6f 74 65 20 56 79 4f 53 20 73 79 73 74 65 6d 2e 00 53 6f 6d 65 74 69 .on.a.remote.VyOS.system..Someti
cce0 6d 65 73 20 79 6f 75 20 73 69 6d 70 6c 79 20 77 61 6e 74 20 74 6f 20 65 78 65 63 75 74 65 20 61 mes.you.simply.want.to.execute.a
cd00 20 62 75 6e 63 68 20 6f 66 20 6f 70 2d 6d 6f 64 65 20 63 6f 6d 6d 61 6e 64 73 20 76 69 61 20 53 .bunch.of.op-mode.commands.via.S
cd20 53 48 20 6f 6e 20 61 20 72 65 6d 6f 74 65 20 56 79 4f 53 20 73 79 73 74 65 6d 2e 00 53 6f 75 72 SH.on.a.remote.VyOS.system..Sour
cd40 73 65 20 66 69 6c 65 73 20 66 6f 72 20 41 57 53 20 66 72 6f 6d 20 47 49 54 00 53 6f 75 72 73 65 se.files.for.AWS.from.GIT.Sourse
cd60 20 66 69 6c 65 73 20 66 6f 72 20 41 7a 75 72 65 20 66 72 6f 6d 20 47 49 54 00 53 6f 75 72 73 65 .files.for.Azure.from.GIT.Sourse
cd80 20 66 69 6c 65 73 20 66 6f 72 20 76 53 70 68 65 72 65 20 66 72 6f 6d 20 47 49 54 00 53 74 61 72 .files.for.vSphere.from.GIT.Star
cda0 74 00 53 74 61 72 74 20 63 72 65 61 74 69 6e 67 20 61 6e 20 41 57 53 20 69 6e 73 74 61 6e 63 65 t.Start.creating.an.AWS.instance
cdc0 20 61 6e 64 20 63 68 65 63 6b 20 74 68 65 20 72 65 73 75 6c 74 00 53 74 6f 72 61 67 65 64 20 75 .and.check.the.result.Storaged.u
cde0 73 65 64 3a 20 76 6f 6c 75 6d 65 20 6c 6f 63 61 6c 2c 20 77 68 69 63 68 20 69 73 20 6d 6f 75 6e sed:.volume.local,.which.is.moun
ce00 74 65 64 20 6f 6e 20 64 69 72 65 63 74 6f 72 79 20 2a 2a 2f 76 61 72 2f 6c 69 62 2f 76 7a 2a 2a ted.on.directory.**/var/lib/vz**
ce20 2c 20 61 6e 64 20 63 6f 6e 74 61 69 6e 73 20 61 6c 6c 20 74 79 70 65 20 6f 66 20 63 6f 6e 74 65 ,.and.contains.all.type.of.conte
ce40 6e 74 2c 20 69 6e 63 6c 75 64 69 6e 67 20 73 6e 69 70 70 65 74 73 2e 00 53 74 72 75 63 74 75 72 nt,.including.snippets..Structur
ce60 65 20 6f 66 20 2f 73 72 76 2f 73 61 6c 74 3a 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c e.of./srv/salt:.Structure.of.fil
ce80 65 73 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 00 53 74 es.Structure.of.files.Ansible.St
cea0 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 6f 72 20 41 57 53 ructure.of.files.Ansible.for.AWS
cec0 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 20 66 6f 72 20 .Structure.of.files.Ansible.for.
cee0 41 7a 75 72 65 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 41 6e 73 69 62 6c 65 Azure.Structure.of.files.Ansible
cf00 20 66 6f 72 20 76 53 70 68 65 72 65 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 .for.vSphere.Structure.of.files.
cf20 54 65 72 72 61 66 6f 6d 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 54 65 72 72 Terrafom.Structure.of.files.Terr
cf40 61 66 6f 6d 20 66 6f 72 20 41 57 53 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 afom.for.AWS.Structure.of.files.
cf60 54 65 72 72 61 66 6f 6d 20 66 6f 72 20 41 7a 75 72 65 00 53 74 72 75 63 74 75 72 65 20 6f 66 20 Terrafom.for.Azure.Structure.of.
cf80 66 69 6c 65 73 20 54 65 72 72 61 66 6f 6d 20 66 6f 72 20 76 53 70 68 65 72 65 00 53 74 72 75 63 files.Terrafom.for.vSphere.Struc
cfa0 74 75 72 65 20 6f 66 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 73 74 61 6e 64 61 72 64 20 54 65 ture.of.files.in.the.standard.Te
cfc0 72 72 61 66 6f 72 6d 20 70 72 6f 6a 65 63 74 3a 00 53 79 73 74 65 6d 20 44 65 66 61 75 6c 74 73 rraform.project:.System.Defaults
cfe0 2f 46 61 6c 6c 62 61 63 6b 73 00 54 65 72 72 61 66 6f 72 6d 00 54 65 72 72 61 66 6f 72 6d 20 64 /Fallbacks.Terraform.Terraform.d
d000 6f 65 73 6e 27 74 20 63 6f 6e 6e 65 63 74 20 76 69 61 20 53 53 48 20 74 6f 20 79 6f 75 72 20 41 oesn't.connect.via.SSH.to.your.A
d020 6e 73 69 62 6c 65 20 69 6e 73 74 61 6e 63 65 3a 20 79 6f 75 20 68 61 76 65 20 74 6f 20 63 68 65 nsible.instance:.you.have.to.che
d040 63 6b 20 74 68 65 20 63 6f 72 72 65 63 74 20 6c 6f 67 69 6e 20 61 6e 64 20 70 61 73 73 77 6f 72 ck.the.correct.login.and.passwor
d060 64 20 69 6e 20 74 68 65 20 70 61 72 74 20 6f 66 20 74 68 65 20 66 69 6c 65 20 76 79 6f 73 2e 20 d.in.the.part.of.the.file.vyos..
d080 74 66 00 54 65 72 72 61 66 6f 72 6d 20 66 6f 72 20 56 79 4f 53 00 54 68 65 20 41 50 49 20 70 75 tf.Terraform.for.VyOS.The.API.pu
d0a0 73 68 65 73 20 65 76 65 72 79 20 72 65 71 75 65 73 74 20 74 6f 20 61 20 73 65 73 73 69 6f 6e 20 shes.every.request.to.a.session.
d0c0 61 6e 64 20 63 6f 6d 6d 69 74 20 69 74 2e 20 42 75 74 20 73 6f 6d 65 20 6f 66 20 56 79 4f 53 20 and.commit.it..But.some.of.VyOS.
d0e0 63 6f 6d 70 6f 6e 65 6e 74 73 20 6c 69 6b 65 20 44 48 43 50 20 61 6e 64 20 50 50 50 6f 45 20 53 components.like.DHCP.and.PPPoE.S
d100 65 72 76 65 72 73 2c 20 49 50 53 65 63 2c 20 56 58 4c 41 4e 2c 20 61 6e 64 20 6f 74 68 65 72 20 ervers,.IPSec,.VXLAN,.and.other.
d120 74 75 6e 6e 65 6c 73 20 72 65 71 75 69 72 65 20 66 75 6c 6c 20 63 6f 6e 66 69 67 75 72 61 74 69 tunnels.require.full.configurati
d140 6f 6e 20 66 6f 72 20 63 6f 6d 6d 69 74 2e 20 54 68 65 20 65 6e 64 70 6f 69 6e 74 20 77 69 6c 6c on.for.commit..The.endpoint.will
d160 20 70 72 6f 63 65 73 73 20 6d 75 6c 74 69 70 6c 65 20 63 6f 6d 6d 61 6e 64 73 20 77 68 65 6e 20 .process.multiple.commands.when.
d180 79 6f 75 20 70 61 73 73 20 74 68 65 6d 20 61 73 20 61 20 6c 69 73 74 20 74 6f 20 74 68 65 20 60 you.pass.them.as.a.list.to.the.`
d1a0 60 64 61 74 61 60 60 20 66 69 65 6c 64 2e 00 54 68 65 20 60 60 2f 63 6f 6e 66 69 67 2f 73 63 72 `data``.field..The.``/config/scr
d1c0 69 70 74 73 2f 76 79 6f 73 2d 70 6f 73 74 63 6f 6e 66 69 67 2d 62 6f 6f 74 75 70 2e 73 63 72 69 ipts/vyos-postconfig-bootup.scri
d1e0 70 74 60 60 20 73 63 72 69 70 74 20 69 73 20 63 61 6c 6c 65 64 20 6f 6e 20 62 6f 6f 74 20 61 66 pt``.script.is.called.on.boot.af
d200 74 65 72 20 74 68 65 20 56 79 4f 53 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 73 20 66 75 ter.the.VyOS.configuration.is.fu
d220 6c 6c 79 20 61 70 70 6c 69 65 64 2e 00 54 68 65 20 60 60 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 lly.applied..The.``/config/scrip
d240 74 73 2f 76 79 6f 73 2d 70 72 65 63 6f 6e 66 69 67 2d 62 6f 6f 74 75 70 2e 73 63 72 69 70 74 60 ts/vyos-preconfig-bootup.script`
d260 60 20 73 63 72 69 70 74 20 69 73 20 63 61 6c 6c 65 64 20 6f 6e 20 62 6f 6f 74 20 62 65 66 6f 72 `.script.is.called.on.boot.befor
d280 65 20 74 68 65 20 56 79 4f 53 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 64 75 72 69 6e 67 20 e.the.VyOS.configuration.during.
d2a0 62 6f 6f 74 20 70 72 6f 63 65 73 73 2e 00 54 68 65 20 60 60 2f 73 68 6f 77 60 60 20 65 6e 64 70 boot.process..The.``/show``.endp
d2c0 6f 69 6e 74 20 69 73 20 74 6f 20 73 68 6f 77 20 65 76 65 72 79 74 68 69 6e 67 20 69 6e 20 74 68 oint.is.to.show.everything.in.th
d2e0 65 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 6d 6f 64 65 2e 00 54 68 65 20 60 60 67 65 6e 65 72 61 e.operational.mode..The.``genera
d300 74 65 60 60 20 65 6e 64 70 6f 69 6e 74 20 72 75 6e 20 61 20 60 60 67 65 6e 65 72 61 74 65 60 60 te``.endpoint.run.a.``generate``
d320 20 63 6f 6d 6d 61 6e 64 2e 00 54 68 65 20 60 60 72 65 73 65 74 60 60 20 65 6e 64 70 6f 69 6e 74 .command..The.``reset``.endpoint
d340 20 72 75 6e 20 61 20 60 60 72 65 73 65 74 60 60 20 63 6f 6d 6d 61 6e 64 2e 00 54 68 65 20 63 6f .run.a.``reset``.command..The.co
d360 6d 6d 61 6e 64 73 20 6c 69 73 74 20 70 72 6f 64 75 63 65 64 20 62 79 20 74 68 65 20 60 60 73 68 mmands.list.produced.by.the.``sh
d380 6f 77 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 60 60 20 63 6f 6d 6d ow.configuration.commands``.comm
d3a0 61 6e 64 20 6f 6e 20 61 20 56 79 4f 53 20 72 6f 75 74 65 72 20 73 68 6f 75 6c 64 20 63 6f 6d 70 and.on.a.VyOS.router.should.comp
d3c0 6c 79 20 77 69 74 68 20 61 6c 6c 20 74 68 65 20 72 65 71 75 69 72 65 6d 65 6e 74 73 2c 20 73 6f ly.with.all.the.requirements,.so
d3e0 20 69 74 20 69 73 20 65 61 73 79 20 74 6f 20 67 65 74 20 61 20 70 72 6f 70 65 72 20 63 6f 6d 6d .it.is.easy.to.get.a.proper.comm
d400 61 6e 64 73 20 6c 69 73 74 20 62 79 20 63 6f 70 79 69 6e 67 20 69 74 20 66 72 6f 6d 20 61 6e 6f ands.list.by.copying.it.from.ano
d420 74 68 65 72 20 72 6f 75 74 65 72 2e 00 54 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 73 ther.router..The.configuration.s
d440 70 65 63 69 66 69 65 64 20 69 6e 20 74 68 65 20 63 6c 6f 75 64 2d 63 6f 6e 66 69 67 20 64 6f 63 pecified.in.the.cloud-config.doc
d460 75 6d 65 6e 74 20 6f 76 65 72 77 72 69 74 65 73 20 64 65 66 61 75 6c 74 20 63 6f 6e 66 69 67 75 ument.overwrites.default.configu
d480 72 61 74 69 6f 6e 20 76 61 6c 75 65 73 20 61 6e 64 20 76 61 6c 75 65 73 20 63 6f 6e 66 69 67 75 ration.values.and.values.configu
d4a0 72 65 64 20 76 69 61 20 4d 65 74 61 64 61 74 61 2e 00 54 68 65 20 64 65 66 61 75 6c 74 20 64 69 red.via.Metadata..The.default.di
d4c0 72 65 63 74 6f 72 69 65 73 20 77 68 65 72 65 20 79 6f 75 72 20 63 75 73 74 6f 6d 20 53 63 72 69 rectories.where.your.custom.Scri
d4e0 70 74 73 20 73 68 6f 75 6c 64 20 62 65 20 6c 6f 63 61 74 65 64 20 61 72 65 3a 00 54 68 65 20 64 pts.should.be.located.are:.The.d
d500 65 66 61 75 6c 74 20 66 69 6c 65 20 6c 6f 6f 6b 73 20 6c 69 6b 65 20 74 68 69 73 3a 00 54 68 65 efault.file.looks.like.this:.The
d520 20 65 61 73 69 65 73 74 20 77 61 79 20 74 6f 20 63 6f 6e 66 69 67 75 72 65 20 74 68 65 20 73 79 .easiest.way.to.configure.the.sy
d540 73 74 65 6d 20 76 69 61 20 75 73 65 72 2d 64 61 74 61 20 69 73 20 74 68 65 20 43 6c 6f 75 64 2d stem.via.user-data.is.the.Cloud-
d560 63 6f 6e 66 69 67 20 73 79 6e 74 61 78 20 64 65 73 63 72 69 62 65 64 20 62 65 6c 6f 77 2e 00 54 config.syntax.described.below..T
d580 68 65 20 65 6e 64 70 6f 69 6e 74 20 60 60 2f 63 6f 6e 66 69 67 2d 66 69 6c 65 60 60 20 69 73 20 he.endpoint.``/config-file``.is.
d5a0 74 6f 20 73 61 76 65 20 6f 72 20 6c 6f 61 64 20 61 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e to.save.or.load.a.configuration.
d5c0 00 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 65 78 61 6d 70 6c 65 20 73 65 74 73 20 74 68 65 20 .The.following.example.sets.the.
d5e0 68 6f 73 74 6e 61 6d 65 20 62 61 73 65 64 20 6f 6e 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 69 hostname.based.on.the.instance.i
d600 64 65 6e 74 69 66 69 65 72 20 6f 62 74 61 69 6e 65 64 20 66 72 6f 6d 20 74 68 65 20 45 43 32 20 dentifier.obtained.from.the.EC2.
d620 6d 65 74 61 64 61 74 61 20 73 65 72 76 69 63 65 2e 00 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 metadata.service..The.following.
d640 65 78 61 6d 70 6c 65 20 73 68 6f 77 73 20 68 6f 77 20 74 6f 20 65 78 65 63 75 74 65 20 63 6f 6d example.shows.how.to.execute.com
d660 6d 61 6e 64 73 20 61 66 74 65 72 20 74 68 65 20 69 6e 69 74 69 61 6c 20 63 6f 6e 66 69 67 75 72 mands.after.the.initial.configur
d680 61 74 69 6f 6e 2e 00 54 68 65 20 6b 65 79 20 75 73 65 64 20 74 6f 20 64 65 73 69 67 6e 61 74 65 ation..The.key.used.to.designate
d6a0 20 61 20 56 79 4f 53 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 73 20 60 60 76 79 6f 73 5f .a.VyOS.configuration.is.``vyos_
d6c0 63 6f 6e 66 69 67 5f 63 6f 6d 6d 61 6e 64 73 60 60 2e 20 57 68 61 74 20 66 6f 6c 6c 6f 77 73 20 config_commands``..What.follows.
d6e0 69 73 20 56 79 4f 53 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 75 73 69 6e 67 20 74 68 65 20 is.VyOS.configuration.using.the.
d700 22 73 65 74 2d 73 74 79 6c 65 22 20 73 79 6e 74 61 78 2e 20 42 6f 74 68 20 22 73 65 74 22 20 61 "set-style".syntax..Both."set".a
d720 6e 64 20 22 64 65 6c 65 74 65 22 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 73 75 70 70 6f 72 74 nd."delete".commands.are.support
d740 65 64 2e 00 54 68 65 20 73 65 65 64 2e 69 73 6f 20 66 69 6c 65 20 63 61 6e 20 62 65 20 61 74 74 ed..The.seed.iso.file.can.be.att
d760 61 63 68 65 64 20 74 6f 20 74 68 65 20 76 69 72 74 75 61 6c 20 6d 61 63 68 69 6e 65 2e 20 41 73 ached.to.the.virtual.machine..As
d780 20 61 6e 20 65 78 61 6d 70 6c 65 2c 20 74 68 65 20 6d 65 74 68 6f 64 20 77 69 74 68 20 4b 56 4d .an.example,.the.method.with.KVM
d7a0 20 74 6f 20 61 74 74 61 63 68 20 74 68 65 20 49 53 4f 20 61 73 20 61 20 43 44 20 64 72 69 76 65 .to.attach.the.ISO.as.a.CD.drive
d7c0 20 66 6f 6c 6c 6f 77 73 2e 00 54 68 65 72 65 20 69 73 20 61 20 70 69 74 66 61 6c 6c 20 77 68 65 .follows..There.is.a.pitfall.whe
d7e0 6e 20 77 6f 72 6b 69 6e 67 20 77 69 74 68 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 73 63 72 n.working.with.configuration.scr
d800 69 70 74 73 2e 20 49 74 20 69 73 20 74 65 6d 70 74 69 6e 67 20 74 6f 20 63 61 6c 6c 20 63 6f 6e ipts..It.is.tempting.to.call.con
d820 66 69 67 75 72 61 74 69 6f 6e 20 73 63 72 69 70 74 73 20 77 69 74 68 20 22 73 75 64 6f 22 20 28 figuration.scripts.with."sudo".(
d840 69 2e 65 2e 2c 20 74 65 6d 70 6f 72 61 72 79 20 72 6f 6f 74 20 70 65 72 6d 69 73 73 69 6f 6e 73 i.e.,.temporary.root.permissions
d860 29 2c 20 62 65 63 61 75 73 65 20 74 68 61 74 27 73 20 74 68 65 20 63 6f 6d 6d 6f 6e 20 77 61 79 ),.because.that's.the.common.way
d880 20 6f 6e 20 6d 6f 73 74 20 4c 69 6e 75 78 20 70 6c 61 74 66 6f 72 6d 73 20 74 6f 20 63 61 6c 6c .on.most.Linux.platforms.to.call
d8a0 20 73 79 73 74 65 6d 20 63 6f 6d 6d 61 6e 64 73 2e 00 54 68 65 73 65 20 61 72 65 20 74 68 65 20 .system.commands..These.are.the.
d8c0 56 79 4f 53 20 64 65 66 61 75 6c 74 73 20 61 6e 64 20 66 61 6c 6c 62 61 63 6b 73 2e 00 54 68 69 VyOS.defaults.and.fallbacks..Thi
d8e0 73 20 73 65 63 74 69 6f 6e 20 6e 65 65 64 73 20 69 6d 70 72 6f 76 65 6d 65 6e 74 73 2c 20 65 78 s.section.needs.improvements,.ex
d900 61 6d 70 6c 65 73 20 61 6e 64 20 65 78 70 6c 61 6e 61 74 69 6f 6e 73 2e 00 54 68 69 73 20 77 69 amples.and.explanations..This.wi
d920 6c 6c 20 72 65 73 75 6c 74 20 69 6e 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 65 72 72 6f 72 ll.result.in.the.following.error
d940 20 6d 65 73 73 61 67 65 3a 20 60 60 53 65 74 20 66 61 69 6c 65 64 60 60 20 49 66 20 74 68 69 73 .message:.``Set.failed``.If.this
d960 20 68 61 70 70 65 6e 73 2c 20 61 20 72 65 62 6f 6f 74 20 69 73 20 72 65 71 75 69 72 65 64 20 74 .happens,.a.reboot.is.required.t
d980 6f 20 62 65 20 61 62 6c 65 20 74 6f 20 65 64 69 74 20 74 68 65 20 63 6f 6e 66 69 67 20 6d 61 6e o.be.able.to.edit.the.config.man
d9a0 75 61 6c 6c 79 20 61 67 61 69 6e 2e 00 54 6f 20 4c 6f 61 64 20 61 20 63 6f 6e 66 69 67 75 72 61 ually.again..To.Load.a.configura
d9c0 74 69 6f 6e 20 66 69 6c 65 2e 00 54 6f 20 61 64 64 20 6f 72 20 64 65 6c 65 74 65 20 61 6e 20 69 tion.file..To.add.or.delete.an.i
d9e0 6d 61 67 65 2c 20 75 73 65 20 74 68 65 20 60 60 2f 69 6d 61 67 65 60 60 20 65 6e 64 70 6f 69 6e mage,.use.the.``/image``.endpoin
da00 74 2e 00 54 6f 20 61 76 6f 69 64 20 74 68 65 73 65 20 70 72 6f 62 6c 65 6d 73 2c 20 74 68 65 20 t..To.avoid.these.problems,.the.
da20 70 72 6f 70 65 72 20 77 61 79 20 69 73 20 74 6f 20 63 61 6c 6c 20 61 20 73 63 72 69 70 74 20 77 proper.way.is.to.call.a.script.w
da40 69 74 68 20 74 68 65 20 60 60 76 79 61 74 74 61 63 66 67 60 60 20 67 72 6f 75 70 2c 20 65 2e 67 ith.the.``vyattacfg``.group,.e.g
da60 2e 2c 20 62 79 20 75 73 69 6e 67 20 74 68 65 20 60 60 73 67 60 60 20 28 73 77 69 74 63 68 20 67 .,.by.using.the.``sg``.(switch.g
da80 72 6f 75 70 29 20 63 6f 6d 6d 61 6e 64 3a 00 54 6f 20 63 68 65 63 6b 20 65 78 69 73 74 65 6e 63 roup).command:.To.check.existenc
daa0 65 20 6f 66 20 61 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 70 61 74 68 2c 20 75 73 65 20 74 e.of.a.configuration.path,.use.t
dac0 68 65 20 60 60 65 78 69 73 74 73 60 60 20 6f 70 65 72 61 74 69 6f 6e 2e 00 54 6f 20 67 65 74 20 he.``exists``.operation..To.get.
dae0 74 68 65 20 77 68 6f 6c 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 20 70 61 73 73 20 61 6e the.whole.configuration,.pass.an
db00 20 65 6d 70 74 79 20 6c 69 73 74 20 74 6f 20 74 68 65 20 60 60 70 61 74 68 60 60 20 66 69 65 6c .empty.list.to.the.``path``.fiel
db20 64 00 54 6f 20 69 6e 63 6c 75 64 65 20 56 79 4f 53 20 73 70 65 63 69 66 69 63 20 66 75 6e 63 74 d.To.include.VyOS.specific.funct
db40 69 6f 6e 73 20 61 6e 64 20 61 6c 69 61 73 65 73 20 79 6f 75 20 6e 65 65 64 20 74 6f 20 60 60 73 ions.and.aliases.you.need.to.``s
db60 6f 75 72 63 65 20 2f 6f 70 74 2f 76 79 61 74 74 61 2f 65 74 63 2f 66 75 6e 63 74 69 6f 6e 73 2f ource./opt/vyatta/etc/functions/
db80 73 63 72 69 70 74 2d 74 65 6d 70 6c 61 74 65 60 60 20 66 69 6c 65 73 20 61 74 20 74 68 65 20 74 script-template``.files.at.the.t
dba0 6f 70 20 6f 66 20 79 6f 75 72 20 73 63 72 69 70 74 2e 00 54 6f 20 69 6e 69 74 69 61 74 65 20 61 op.of.your.script..To.initiate.a
dbc0 20 72 65 62 6f 6f 74 20 75 73 65 20 74 68 65 20 60 60 72 65 62 6f 6f 74 60 60 20 65 6e 64 70 6f .reboot.use.the.``reboot``.endpo
dbe0 69 6e 74 2e 00 54 6f 20 6d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 61 20 73 63 72 69 70 74 20 int..To.make.sure.that.a.script.
dc00 69 73 20 6e 6f 74 20 61 63 63 69 64 65 6e 74 61 6c 6c 79 20 63 61 6c 6c 65 64 20 77 69 74 68 6f is.not.accidentally.called.witho
dc20 75 74 20 74 68 65 20 60 60 76 79 61 74 74 61 63 66 67 60 60 20 67 72 6f 75 70 2c 20 74 68 65 20 ut.the.``vyattacfg``.group,.the.
dc40 73 63 72 69 70 74 20 63 61 6e 20 62 65 20 73 61 66 65 67 75 61 72 64 65 64 20 6c 69 6b 65 20 74 script.can.be.safeguarded.like.t
dc60 68 69 73 3a 00 54 6f 20 6f 6e 6c 79 20 67 65 74 20 61 20 70 61 72 74 20 6f 66 20 74 68 65 20 63 his:.To.only.get.a.part.of.the.c
dc80 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 60 60 73 79 73 74 onfiguration,.for.example.``syst
dca0 65 6d 20 73 79 73 6c 6f 67 60 60 2e 00 54 6f 20 70 6f 77 65 72 20 6f 66 66 20 74 68 65 20 73 79 em.syslog``..To.power.off.the.sy
dcc0 73 74 65 6d 20 75 73 65 20 74 68 65 20 60 60 70 6f 77 65 72 6f 66 66 60 60 20 65 6e 64 70 6f 69 stem.use.the.``poweroff``.endpoi
dce0 6e 74 2e 00 54 72 6f 75 62 6c 65 73 68 6f 6f 74 69 6e 67 00 54 79 70 65 20 74 68 65 20 63 6f 6d nt..Troubleshooting.Type.the.com
dd00 6d 61 6e 64 73 20 6f 6e 20 79 6f 75 72 20 54 65 72 72 61 66 6f 6d 20 69 6e 73 74 61 6e 63 65 3a mands.on.your.Terrafom.instance:
dd20 00 55 6e 6c 69 6b 65 20 61 20 6e 6f 72 6d 61 6c 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 73 .Unlike.a.normal.configuration.s
dd40 65 73 73 69 6f 6e 2c 20 61 6c 6c 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 63 6f 6d 6d 61 6e 64 73 ession,.all.operational.commands
dd60 20 6d 75 73 74 20 62 65 20 70 72 65 70 65 6e 64 65 64 20 77 69 74 68 20 60 60 72 75 6e 60 60 2c .must.be.prepended.with.``run``,
dd80 20 65 76 65 6e 20 69 66 20 79 6f 75 20 68 61 76 65 6e 27 74 20 63 72 65 61 74 65 64 20 61 20 73 .even.if.you.haven't.created.a.s
dda0 65 73 73 69 6f 6e 20 77 69 74 68 20 63 6f 6e 66 69 67 75 72 65 2e 00 55 73 65 72 2d 64 61 74 61 ession.with.configure..User-data
ddc0 00 55 73 65 72 2d 64 61 74 61 20 2d 20 55 73 65 72 2d 64 61 74 61 20 69 73 20 73 70 65 63 69 66 .User-data.-.User-data.is.specif
dde0 69 65 64 20 62 79 20 74 68 65 20 75 73 65 72 2e 20 54 68 69 73 20 63 6f 6e 66 69 67 20 73 6f 75 ied.by.the.user..This.config.sou
de00 72 63 65 20 6f 66 66 65 72 73 20 74 68 65 20 61 62 69 6c 69 74 79 20 74 6f 20 69 6e 73 65 72 74 rce.offers.the.ability.to.insert
de20 20 61 6e 79 20 43 4c 49 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 .any.CLI.configuration.commands.
de40 69 6e 74 6f 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 62 65 66 6f 72 65 20 20 20 into.the.configuration.before...
de60 74 68 65 20 66 69 72 73 74 20 62 6f 6f 74 2e 00 55 73 65 72 2d 64 61 74 61 20 2d 20 55 73 65 72 the.first.boot..User-data.-.User
de80 2d 64 61 74 61 20 69 73 20 73 70 65 63 69 66 69 65 64 20 62 79 20 74 68 65 20 75 73 65 72 2e 20 -data.is.specified.by.the.user..
dea0 54 68 69 73 20 63 6f 6e 66 69 67 20 73 6f 75 72 63 65 20 6f 66 66 65 72 73 20 74 68 65 20 61 62 This.config.source.offers.the.ab
dec0 69 6c 69 74 79 20 74 6f 20 69 6e 73 65 72 74 20 61 6e 79 20 43 4c 49 20 63 6f 6e 66 69 67 75 72 ility.to.insert.any.CLI.configur
dee0 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 69 6e 74 6f 20 74 68 65 20 63 6f 6e 66 69 67 75 72 ation.commands.into.the.configur
df00 61 74 69 6f 6e 20 62 65 66 6f 72 65 20 74 68 65 20 66 69 72 73 74 20 62 6f 6f 74 2e 00 55 73 69 ation.before.the.first.boot..Usi
df20 6e 67 20 41 50 49 20 52 65 73 70 6f 6e 73 65 20 43 6c 61 73 73 00 55 73 69 6e 67 20 50 79 56 79 ng.API.Response.Class.Using.PyVy
df40 4f 53 00 55 73 69 6e 67 20 70 79 76 79 6f 73 00 56 4d 20 49 44 3a 20 69 6e 20 74 68 69 73 20 65 OS.Using.pyvyos.VM.ID:.in.this.e
df60 78 61 6d 70 6c 65 2c 20 56 4d 20 49 44 20 75 73 65 64 20 69 73 20 35 35 35 2e 00 56 4d 20 52 65 xample,.VM.ID.used.is.555..VM.Re
df80 73 6f 75 72 63 65 73 3a 20 74 68 65 73 65 20 70 61 72 61 6d 65 74 65 72 73 20 63 61 6e 20 62 65 sources:.these.parameters.can.be
dfa0 20 6d 6f 64 69 66 69 65 64 20 61 73 20 6e 65 65 64 65 64 2e 00 56 4d 20 53 74 6f 72 61 67 65 3a .modified.as.needed..VM.Storage:
dfc0 20 60 60 6c 6f 63 61 6c 60 60 20 76 6f 6c 75 6d 65 20 69 73 20 75 73 65 64 2e 00 56 73 70 68 65 .``local``.volume.is.used..Vsphe
dfe0 72 65 00 56 79 4f 53 20 41 50 49 00 56 79 4f 53 20 41 75 74 6f 6d 61 74 69 6f 6e 00 56 79 4f 53 re.VyOS.API.VyOS.Automation.VyOS
e000 20 54 65 72 72 61 66 6f 72 6d 00 56 79 4f 53 20 60 63 6c 6f 75 64 2d 69 6e 69 74 2d 64 6f 63 73 .Terraform.VyOS.`cloud-init-docs
e020 60 5f 2e 00 56 79 4f 53 20 63 6c 6f 75 64 2d 69 6e 69 74 00 56 79 4f 53 20 63 6f 6e 66 69 67 75 `_..VyOS.cloud-init.VyOS.configu
e040 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 64 65 66 69 6e 65 64 20 69 6e 20 75 ration.commands.are.defined.in.u
e060 73 65 72 2d 64 61 74 61 20 66 69 6c 65 2e 00 56 79 4f 53 20 68 61 73 20 74 68 65 20 61 62 69 6c ser-data.file..VyOS.has.the.abil
e080 69 74 79 20 74 6f 20 72 75 6e 20 63 75 73 74 6f 6d 20 20 73 63 72 69 70 74 73 20 62 65 66 6f 72 ity.to.run.custom..scripts.befor
e0a0 65 20 61 6e 64 20 61 66 74 65 72 20 65 61 63 68 20 63 6f 6d 6d 69 74 00 56 79 4f 53 20 73 75 70 e.and.after.each.commit.VyOS.sup
e0c0 70 6f 72 74 20 74 68 72 65 65 20 74 79 70 65 73 20 6f 66 20 63 6f 6e 66 69 67 20 73 6f 75 72 63 port.three.types.of.config.sourc
e0e0 65 73 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 es..VyOS.supports.configuration.
e100 76 69 61 20 61 6e 73 69 62 6c 65 2e 20 4e 65 65 64 20 74 6f 20 69 6e 73 74 61 6c 6c 20 60 60 61 via.ansible..Need.to.install.``a
e120 6e 73 69 62 6c 65 60 60 20 61 6e 64 20 60 60 70 79 74 68 6f 6e 33 2d 70 61 72 61 6d 69 6b 6f 60 nsible``.and.``python3-paramiko`
e140 60 20 6d 6f 64 75 6c 65 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 63 6f 6e 66 69 67 75 72 61 `.module.VyOS.supports.configura
e160 74 69 6f 6e 20 76 69 61 20 6e 65 74 6d 69 6b 6f 5f 2e 20 49 74 20 72 65 71 75 69 72 65 73 20 74 tion.via.netmiko_..It.requires.t
e180 6f 20 69 6e 73 74 61 6c 6c 20 60 60 70 79 74 68 6f 6e 33 2d 6e 65 74 6d 69 6b 6f 60 60 20 6d 6f o.install.``python3-netmiko``.mo
e1a0 64 75 6c 65 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 64 65 76 65 6c 6f 70 20 69 6e 66 72 dule..VyOS.supports.develop.infr
e1c0 61 73 74 72 75 63 74 69 61 20 76 69 61 20 54 65 72 72 61 66 6f 72 6d 20 61 6e 64 20 70 72 6f 76 astructia.via.Terraform.and.prov
e1e0 69 73 69 6f 6e 69 6e 67 20 76 69 61 20 61 6e 73 69 62 6c 65 2e 20 4e 65 65 64 20 74 6f 20 69 6e isioning.via.ansible..Need.to.in
e200 73 74 61 6c 6c 20 60 60 54 65 72 72 61 66 6f 72 6d 60 60 00 56 79 4f 53 20 73 75 70 70 6f 72 74 stall.``Terraform``.VyOS.support
e220 73 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 76 69 61 s.development.infrastructure.via
e240 20 54 65 72 72 61 66 6f 72 6d 20 61 6e 64 20 70 72 6f 76 69 73 69 6f 6e 69 6e 67 20 76 69 61 20 .Terraform.and.provisioning.via.
e260 41 6e 73 69 62 6c 65 2e 20 54 65 72 72 61 66 6f 72 6d 20 61 6c 6c 6f 77 73 20 79 6f 75 20 74 6f Ansible..Terraform.allows.you.to
e280 20 61 75 74 6f 6d 61 74 65 20 74 68 65 20 70 72 6f 63 65 73 73 20 6f 66 20 64 65 70 6c 6f 79 69 .automate.the.process.of.deployi
e2a0 6e 67 20 69 6e 73 74 61 6e 63 65 73 20 6f 6e 20 6d 61 6e 79 20 63 6c 6f 75 64 20 61 6e 64 20 76 ng.instances.on.many.cloud.and.v
e2c0 69 72 74 75 61 6c 20 70 6c 61 74 66 6f 72 6d 73 2e 20 49 6e 20 74 68 69 73 20 61 72 74 69 63 6c irtual.platforms..In.this.articl
e2e0 65 2c 20 77 65 20 77 69 6c 6c 20 6c 6f 6f 6b 20 61 74 20 75 73 69 6e 67 20 74 65 72 72 61 66 6f e,.we.will.look.at.using.terrafo
e300 72 6d 73 20 74 6f 20 64 65 70 6c 6f 79 20 56 79 4f 53 20 6f 6e 20 70 6c 61 74 66 6f 72 6d 73 20 rms.to.deploy.VyOS.on.platforms.
e320 2d 20 41 57 53 2c 20 41 7a 75 72 65 2c 20 61 6e 64 20 76 53 70 68 65 72 65 2e 20 46 6f 72 20 6d -.AWS,.Azure,.and.vSphere..For.m
e340 6f 72 65 20 64 65 74 61 69 6c 73 20 61 62 6f 75 74 20 54 65 72 72 61 66 6f 72 6d 20 70 6c 65 61 ore.details.about.Terraform.plea
e360 73 65 20 68 61 76 65 20 61 20 6c 6f 6f 6b 20 68 65 72 65 20 6c 69 6e 6b 5f 2e 00 56 79 4f 53 20 se.have.a.look.here.link_..VyOS.
e380 73 75 70 70 6f 72 74 73 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 69 6e 66 72 61 73 74 72 75 63 74 supports.development.infrastruct
e3a0 75 72 65 20 76 69 61 20 54 65 72 72 61 66 6f 72 6d 20 61 6e 64 20 70 72 6f 76 69 73 69 6f 6e 69 ure.via.Terraform.and.provisioni
e3c0 6e 67 20 76 69 61 20 41 6e 73 69 62 6c 65 2e 20 54 65 72 72 61 66 6f 72 6d 20 61 6c 6c 6f 77 73 ng.via.Ansible..Terraform.allows
e3e0 20 79 6f 75 20 74 6f 20 61 75 74 6f 6d 61 74 65 20 74 68 65 20 70 72 6f 63 65 73 73 20 6f 66 20 .you.to.automate.the.process.of.
e400 64 65 70 6c 6f 79 69 6e 67 20 69 6e 73 74 61 6e 63 65 73 20 6f 6e 20 6d 61 6e 79 20 63 6c 6f 75 deploying.instances.on.many.clou
e420 64 20 61 6e 64 20 76 69 72 74 75 61 6c 20 70 6c 61 74 66 6f 72 6d 73 2e 20 49 6e 20 74 68 69 73 d.and.virtual.platforms..In.this
e440 20 61 72 74 69 63 6c 65 2c 20 77 65 20 77 69 6c 6c 20 6c 6f 6f 6b 20 61 74 20 75 73 69 6e 67 20 .article,.we.will.look.at.using.
e460 74 65 72 72 61 66 6f 72 6d 73 20 74 6f 20 64 65 70 6c 6f 79 20 76 79 6f 73 20 6f 6e 20 70 6c 61 terraforms.to.deploy.vyos.on.pla
e480 74 66 6f 72 6d 73 20 2d 20 41 57 53 2c 20 41 5a 55 52 45 2c 20 61 6e 64 20 76 53 70 68 65 72 65 tforms.-.AWS,.AZURE,.and.vSphere
e4a0 2e 20 4d 6f 72 65 20 64 65 74 61 69 6c 65 64 20 61 62 6f 75 74 20 77 68 61 74 20 69 73 20 54 65 ..More.detailed.about.what.is.Te
e4c0 72 72 61 66 6f 72 6d 20 79 6f 75 20 63 61 6e 20 77 72 69 74 65 20 75 73 69 6e 67 20 74 68 65 20 rraform.you.can.write.using.the.
e4e0 6c 69 6e 6b 5f 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 65 78 65 63 75 74 69 6e 67 20 63 link_..VyOS.supports.executing.c
e500 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 6e 64 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 63 6f 6d onfiguration.and.operational.com
e520 6d 61 6e 64 73 20 6e 6f 6e 2d 69 6e 74 65 72 61 63 74 69 76 65 6c 79 20 66 72 6f 6d 20 73 68 65 mands.non-interactively.from.she
e540 6c 6c 20 73 63 72 69 70 74 73 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 6f 70 2d 6d 6f 64 ll.scripts..VyOS.supports.op-mod
e560 65 20 61 6e 64 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 76 69 61 20 73 61 6c 74 5f 2e 00 56 e.and.configuration.via.salt_..V
e580 79 4f 53 20 73 75 70 70 6f 72 74 73 20 73 6f 6d 65 20 6e 61 70 61 6c 6d 5f 20 66 75 6e 63 74 69 yOS.supports.some.napalm_.functi
e5a0 6f 6e 73 20 66 6f 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 6e 64 20 6f 70 2d 6d 6f 64 ons.for.configuration.and.op-mod
e5c0 65 2e 20 49 74 20 72 65 71 75 69 72 65 73 20 6d 6f 72 65 20 74 65 73 74 73 2e 00 56 79 4f 53 20 e..It.requires.more.tests..VyOS.
e5e0 73 75 70 70 6f 72 74 73 20 74 68 65 20 65 78 65 63 75 74 69 6f 6e 20 6f 66 20 6f 70 65 72 61 74 supports.the.execution.of.operat
e600 69 6f 6e 61 6c 20 63 6f 6d 6d 61 6e 64 73 20 61 6e 64 20 6c 69 6e 75 78 20 63 6f 6d 6d 61 6e 64 ional.commands.and.linux.command
e620 73 20 61 74 20 69 6e 69 74 69 61 6c 20 62 6f 6f 74 2e 20 54 68 69 73 20 69 73 20 61 63 63 6f 6d s.at.initial.boot..This.is.accom
e640 70 6c 69 73 68 65 64 20 75 73 69 6e 67 20 60 60 77 72 69 74 65 5f 66 69 6c 65 73 60 60 20 74 6f plished.using.``write_files``.to
e660 20 63 65 72 74 61 69 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 2f 6f 70 74 2f 76 79 61 74 74 .certain.files.in.the./opt/vyatt
e680 61 2f 65 74 63 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 74 73 20 64 69 72 65 63 74 6f 72 79 2e 20 a/etc/config/scripts.directory..
e6a0 43 6f 6d 6d 61 6e 64 73 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 6f 70 74 2f 76 79 61 74 74 61 Commands.specified.in.opt/vyatta
e6c0 2f 65 74 63 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 74 73 2f 76 79 6f 73 2d 70 72 65 63 6f 6e 66 /etc/config/scripts/vyos-preconf
e6e0 69 67 2d 62 6f 6f 74 75 70 2e 73 63 72 69 70 74 20 61 72 65 20 65 78 65 63 75 74 65 64 20 70 72 ig-bootup.script.are.executed.pr
e700 69 6f 72 20 74 6f 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 20 54 68 65 20 2f 6f 70 74 2f 76 ior.to.configuration..The./opt/v
e720 79 61 74 74 61 2f 65 74 63 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 74 73 2f 76 79 6f 73 2d 70 6f yatta/etc/config/scripts/vyos-po
e740 73 74 63 6f 6e 66 69 67 2d 62 6f 6f 74 75 70 2e 73 63 72 69 70 74 20 66 69 6c 65 20 63 6f 6e 74 stconfig-bootup.script.file.cont
e760 61 69 6e 73 20 63 6f 6d 6d 61 6e 64 73 20 74 6f 20 62 65 20 65 78 65 63 75 74 65 64 20 61 66 74 ains.commands.to.be.executed.aft
e780 65 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 20 49 6e 20 62 6f 74 68 20 63 61 73 65 73 2c er.configuration..In.both.cases,
e7a0 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 65 78 65 63 75 74 65 64 20 61 73 20 74 68 65 20 72 6f .commands.are.executed.as.the.ro
e7c0 6f 74 20 75 73 65 72 2e 00 57 65 20 6e 65 65 64 20 32 20 66 69 6c 65 73 2c 20 63 6f 6d 6d 61 6e ot.user..We.need.2.files,.comman
e7e0 64 73 2e 63 6f 6e 66 20 61 6e 64 20 73 63 72 69 70 74 20 69 74 73 65 6c 66 2e 00 57 68 69 6c 65 ds.conf.and.script.itself..While
e800 20 6f 74 68 65 72 20 6d 65 74 68 6f 64 73 20 65 78 69 73 74 2c 20 74 68 65 20 6d 6f 73 74 20 73 .other.methods.exist,.the.most.s
e820 74 72 61 69 67 68 74 66 6f 72 77 61 72 64 20 6d 65 74 68 6f 64 20 66 6f 72 20 75 73 69 6e 67 20 traightforward.method.for.using.
e840 74 68 65 20 4e 6f 43 6c 6f 75 64 20 64 61 74 61 20 73 6f 75 72 63 65 20 69 73 20 63 72 65 61 74 the.NoCloud.data.source.is.creat
e860 69 6e 67 20 61 20 73 65 65 64 20 49 53 4f 20 61 6e 64 20 61 74 74 61 63 68 69 6e 67 20 69 74 20 ing.a.seed.ISO.and.attaching.it.
e880 74 6f 20 74 68 65 20 76 69 72 74 75 61 6c 20 6d 61 63 68 69 6e 65 20 61 73 20 61 20 43 44 20 64 to.the.virtual.machine.as.a.CD.d
e8a0 72 69 76 65 2e 20 54 68 65 20 76 6f 6c 75 6d 65 20 6d 75 73 74 20 62 65 20 66 6f 72 6d 61 74 74 rive..The.volume.must.be.formatt
e8c0 65 64 20 61 73 20 61 20 76 66 61 74 20 6f 72 20 49 53 4f 20 39 36 36 30 20 66 69 6c 65 20 73 79 ed.as.a.vfat.or.ISO.9660.file.sy
e8e0 73 74 65 6d 20 77 69 74 68 20 74 68 65 20 6c 61 62 65 6c 20 22 63 69 64 61 74 61 22 20 6f 72 20 stem.with.the.label."cidata".or.
e900 22 43 49 44 41 54 41 22 2e 00 57 69 6c 6c 20 72 65 74 75 72 6e 3a 00 57 69 74 68 20 74 68 65 20 "CIDATA"..Will.return:.With.the.
e920 60 60 72 65 74 72 69 65 76 65 60 60 20 65 6e 64 70 6f 69 6e 74 20 79 6f 75 20 67 65 74 20 70 61 ``retrieve``.endpoint.you.get.pa
e940 72 74 73 20 6f 72 20 74 68 65 20 77 68 6f 6c 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 00 rts.or.the.whole.configuration..
e960 57 69 74 68 20 74 68 65 20 68 65 6c 70 20 6f 66 20 54 65 72 72 61 66 6f 72 6d 2c 20 79 6f 75 20 With.the.help.of.Terraform,.you.
e980 63 61 6e 20 71 75 69 63 6b 6c 79 20 64 65 70 6c 6f 79 20 56 79 4f 53 2d 62 61 73 65 64 20 69 6e can.quickly.deploy.VyOS-based.in
e9a0 66 72 61 73 74 72 75 63 74 75 72 65 20 69 6e 20 74 68 65 20 41 57 53 20 63 6c 6f 75 64 2e 20 49 frastructure.in.the.AWS.cloud..I
e9c0 66 20 6e 65 63 65 73 73 61 72 79 2c 20 74 68 65 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 f.necessary,.the.infrastructure.
e9e0 63 61 6e 20 62 65 20 72 65 6d 6f 76 65 64 20 75 73 69 6e 67 20 74 65 72 72 61 66 6f 72 6d 2e 20 can.be.removed.using.terraform..
ea00 41 6c 73 6f 20 77 65 20 77 69 6c 6c 20 6d 61 6b 65 20 70 72 6f 76 69 73 69 6f 6e 69 6e 67 20 75 Also.we.will.make.provisioning.u
ea20 73 69 6e 67 20 41 6e 73 69 62 6c 65 2e 00 57 69 74 68 20 74 68 65 20 68 65 6c 70 20 6f 66 20 54 sing.Ansible..With.the.help.of.T
ea40 65 72 72 61 66 6f 72 6d 2c 20 79 6f 75 20 63 61 6e 20 71 75 69 63 6b 6c 79 20 64 65 70 6c 6f 79 erraform,.you.can.quickly.deploy
ea60 20 56 79 4f 53 2d 62 61 73 65 64 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 69 6e 20 74 68 .VyOS-based.infrastructure.in.th
ea80 65 20 41 7a 75 72 65 20 63 6c 6f 75 64 2e 20 49 66 20 6e 65 63 65 73 73 61 72 79 2c 20 74 68 65 e.Azure.cloud..If.necessary,.the
eaa0 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 63 61 6e 20 62 65 20 72 65 6d 6f 76 65 64 20 75 .infrastructure.can.be.removed.u
eac0 73 69 6e 67 20 74 65 72 72 61 66 6f 72 6d 2e 20 41 6c 73 6f 20 77 65 20 77 69 6c 6c 20 6d 61 6b sing.terraform..Also.we.will.mak
eae0 65 20 70 72 6f 76 69 73 69 6f 6e 69 6e 67 20 75 73 69 6e 67 20 41 6e 73 69 62 6c 65 2e 00 57 69 e.provisioning.using.Ansible..Wi
eb00 74 68 20 74 68 65 20 68 65 6c 70 20 6f 66 20 54 65 72 72 61 66 6f 72 6d 2c 20 79 6f 75 20 63 61 th.the.help.of.Terraform,.you.ca
eb20 6e 20 71 75 69 63 6b 6c 79 20 64 65 70 6c 6f 79 20 56 79 4f 53 2d 62 61 73 65 64 20 69 6e 66 72 n.quickly.deploy.VyOS-based.infr
eb40 61 73 74 72 75 63 74 75 72 65 20 69 6e 20 74 68 65 20 76 53 70 68 65 72 65 2e 20 41 6c 73 6f 20 astructure.in.the.vSphere..Also.
eb60 77 65 20 77 69 6c 6c 20 6d 61 6b 65 20 70 72 6f 76 69 73 69 6f 6e 69 6e 67 20 75 73 69 6e 67 20 we.will.make.provisioning.using.
eb80 41 6e 73 69 62 6c 65 2e 00 57 69 74 68 20 74 68 65 20 68 65 6c 70 20 6f 66 20 74 65 72 72 61 66 Ansible..With.the.help.of.terraf
eba0 6f 72 6d 73 2c 20 79 6f 75 20 63 61 6e 20 71 75 69 63 6b 6c 79 20 64 65 70 6c 6f 79 20 56 79 6f orms,.you.can.quickly.deploy.Vyo
ebc0 73 2d 62 61 73 65 64 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 69 6e 20 74 68 65 20 41 57 s-based.infrastructure.in.the.AW
ebe0 53 20 63 6c 6f 75 64 2e 20 49 66 20 6e 65 63 65 73 73 61 72 79 2c 20 74 68 65 20 69 6e 66 72 61 S.cloud..If.necessary,.the.infra
ec00 73 74 72 75 63 74 75 72 65 20 63 61 6e 20 62 65 20 72 65 6d 6f 76 65 64 20 75 73 69 6e 67 20 74 structure.can.be.removed.using.t
ec20 65 72 72 61 66 6f 72 6d 2e 20 41 6c 73 6f 20 77 65 20 77 69 6c 6c 20 6d 61 6b 65 20 70 72 6f 76 erraform..Also.we.will.make.prov
ec40 69 73 69 6f 6e 69 6e 67 20 75 73 69 6e 67 20 41 6e 73 69 62 6c 65 2e 00 57 69 74 68 20 74 68 65 isioning.using.Ansible..With.the
ec60 20 68 65 6c 70 20 6f 66 20 74 65 72 72 61 66 6f 72 6d 73 2c 20 79 6f 75 20 63 61 6e 20 71 75 69 .help.of.terraforms,.you.can.qui
ec80 63 6b 6c 79 20 64 65 70 6c 6f 79 20 56 79 6f 73 2d 62 61 73 65 64 20 69 6e 66 72 61 73 74 72 75 ckly.deploy.Vyos-based.infrastru
eca0 63 74 75 72 65 20 69 6e 20 74 68 65 20 41 7a 75 72 65 20 63 6c 6f 75 64 2e 20 49 66 20 6e 65 63 cture.in.the.Azure.cloud..If.nec
ecc0 65 73 73 61 72 79 2c 20 74 68 65 20 69 6e 66 72 61 73 74 72 75 63 74 75 72 65 20 63 61 6e 20 62 essary,.the.infrastructure.can.b
ece0 65 20 72 65 6d 6f 76 65 64 20 75 73 69 6e 67 20 74 65 72 72 61 66 6f 72 6d 2e 00 57 69 74 68 20 e.removed.using.terraform..With.
ed00 74 68 65 20 68 65 6c 70 20 6f 66 20 74 65 72 72 61 66 6f 72 6d 73 2c 20 79 6f 75 20 63 61 6e 20 the.help.of.terraforms,.you.can.
ed20 71 75 69 63 6b 6c 79 20 64 65 70 6c 6f 79 20 56 79 6f 73 2d 62 61 73 65 64 20 69 6e 66 72 61 73 quickly.deploy.Vyos-based.infras
ed40 74 72 75 63 74 75 72 65 20 69 6e 20 74 68 65 20 76 53 70 68 65 72 65 2e 00 57 69 74 68 6f 75 74 tructure.in.the.vSphere..Without
ed60 20 70 72 6f 78 79 20 69 74 20 72 65 71 75 69 72 65 73 20 56 79 4f 53 20 6d 69 6e 69 6f 6e 20 63 .proxy.it.requires.VyOS.minion.c
ed80 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 6e 64 20 73 75 70 70 6f 72 74 20 6f 70 2d 6d 6f 64 65 onfiguration.and.support.op-mode
eda0 20 64 61 74 61 3a 00 57 69 74 68 6f 75 74 20 70 72 6f 78 79 20 69 74 20 72 65 71 75 69 72 65 73 .data:.Without.proxy.it.requires
edc0 20 56 79 4f 53 20 6d 69 6e 69 6f 6e 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 6e 64 20 73 .VyOS.minion.configuration.and.s
ede0 75 70 70 6f 72 74 73 20 6f 70 2d 6d 6f 64 65 20 64 61 74 61 3a 00 59 6f 75 20 63 61 6e 20 69 6e upports.op-mode.data:.You.can.in
ee00 73 74 61 6c 6c 20 50 79 56 79 4f 53 20 75 73 69 6e 67 20 70 69 70 3a 00 59 6f 75 20 63 61 6e 20 stall.PyVyOS.using.pip:.You.can.
ee20 69 6e 73 74 61 6c 6c 20 70 79 76 79 6f 73 20 75 73 69 6e 67 20 70 69 70 3a 00 59 6f 75 20 63 61 install.pyvyos.using.pip:.You.ca
ee40 6e 20 70 61 73 73 20 61 20 60 60 73 65 74 60 60 2c 20 60 60 64 65 6c 65 74 65 60 60 20 6f 72 20 n.pass.a.``set``,.``delete``.or.
ee60 60 60 63 6f 6d 6d 65 6e 74 60 60 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 74 68 65 20 60 60 2f 63 6f ``comment``.command.to.the.``/co
ee80 6e 66 69 67 75 72 65 60 60 20 65 6e 64 70 6f 69 6e 74 2e 00 60 60 64 65 6c 65 74 65 60 60 20 61 nfigure``.endpoint..``delete``.a
eea0 20 73 69 6e 67 6c 65 20 63 6f 6d 6d 61 6e 64 00 60 60 73 65 65 64 2e 69 73 6f 60 60 20 77 61 73 .single.command.``seed.iso``.was
eec0 20 70 72 65 76 69 6f 75 73 6c 79 20 63 72 65 61 74 65 64 20 69 6e 20 64 69 72 65 63 74 6f 72 79 .previously.created.in.directory
eee0 20 60 60 2f 74 6d 70 2f 60 60 2e 20 49 74 27 73 20 6e 65 63 65 73 73 61 72 79 20 74 6f 20 6d 6f .``/tmp/``..It's.necessary.to.mo
ef00 76 65 20 69 74 20 74 6f 20 60 60 2f 76 61 72 2f 6c 69 62 2f 76 7a 2f 74 65 6d 70 6c 61 74 65 2f ve.it.to.``/var/lib/vz/template/
ef20 69 73 6f 60 60 00 60 60 73 65 74 60 60 20 61 20 73 69 6e 67 6c 65 20 63 6f 6d 6d 61 6e 64 00 60 iso``.``set``.a.single.command.`
ef40 60 76 79 6f 73 5f 75 73 65 72 64 61 74 61 60 60 20 2d 20 74 68 65 20 6d 6f 64 75 6c 65 20 61 63 `vyos_userdata``.-.the.module.ac
ef60 63 65 70 74 73 20 61 20 6c 69 73 74 20 6f 66 20 43 4c 49 20 63 6f 6e 66 69 67 75 72 61 74 69 6f cepts.a.list.of.CLI.configuratio
ef80 6e 20 63 6f 6d 6d 61 6e 64 73 20 69 6e 20 61 20 60 60 76 79 6f 73 5f 63 6f 6e 66 69 67 5f 63 6f n.commands.in.a.``vyos_config_co
efa0 6d 6d 61 6e 64 73 60 60 20 73 65 63 74 69 6f 6e 2c 20 77 68 69 63 68 20 67 69 76 65 73 20 61 6e mmands``.section,.which.gives.an
efc0 20 65 61 73 79 20 77 61 79 20 74 6f 20 63 6f 6e 66 69 67 75 72 65 20 74 68 65 20 73 79 73 74 65 .easy.way.to.configure.the.syste
efe0 6d 20 64 75 72 69 6e 67 20 64 65 70 6c 6f 79 6d 65 6e 74 2e 00 60 60 76 79 6f 73 60 60 2f 60 60 m.during.deployment..``vyos``/``
f000 76 79 6f 73 60 60 20 63 72 65 64 65 6e 74 69 61 6c 73 20 69 66 20 6e 6f 20 6f 74 68 65 72 73 20 vyos``.credentials.if.no.others.
f020 73 70 65 63 69 66 69 65 64 20 62 79 20 64 61 74 61 20 73 6f 75 72 63 65 2e 00 60 60 77 72 69 74 specified.by.data.source..``writ
f040 65 5f 66 69 6c 65 73 60 60 20 2d 20 74 68 69 73 20 6d 6f 64 75 6c 65 20 61 6c 6c 6f 77 73 20 74 e_files``.-.this.module.allows.t
f060 6f 20 69 6e 73 65 72 74 20 61 6e 79 20 66 69 6c 65 73 20 69 6e 74 6f 20 74 68 65 20 66 69 6c 65 o.insert.any.files.into.the.file
f080 73 79 73 74 65 6d 20 62 65 66 6f 72 65 20 74 68 65 20 66 69 72 73 74 20 62 6f 6f 74 2c 20 66 6f system.before.the.first.boot,.fo
f0a0 72 20 65 78 61 6d 70 6c 65 2c 20 70 72 65 2d 67 65 6e 65 72 61 74 65 64 20 65 6e 63 72 79 70 74 r.example,.pre-generated.encrypt
f0c0 69 6f 6e 20 6b 65 79 73 2c 20 63 65 72 74 69 66 69 63 61 74 65 73 2c 20 6f 72 20 65 76 65 6e 20 ion.keys,.certificates,.or.even.
f0e0 61 20 77 68 6f 6c 65 20 60 60 63 6f 6e 66 69 67 2e 62 6f 6f 74 60 60 20 66 69 6c 65 2e 20 54 68 a.whole.``config.boot``.file..Th
f100 65 20 66 6f 72 6d 61 74 20 69 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 74 68 65 20 63 6c 6f e.format.is.described.in.the.clo
f120 75 64 69 6e 69 74 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 60 43 6c 6f 75 64 2d 69 6e 69 74 udinit.documentation.`Cloud-init
f140 2d 77 72 69 74 65 5f 66 69 6c 65 73 60 5f 2e 00 60 70 79 76 79 6f 73 20 44 6f 63 75 6d 65 6e 74 -write_files`_..`pyvyos.Document
f160 61 74 69 6f 6e 20 6f 6e 20 52 65 61 64 20 74 68 65 20 44 6f 63 73 20 3c 68 74 74 70 73 3a 2f 2f ation.on.Read.the.Docs.<https://
f180 70 79 76 79 6f 73 2e 72 65 61 64 74 68 65 64 6f 63 73 2e 69 6f 2f 65 6e 2f 6c 61 74 65 73 74 2f pyvyos.readthedocs.io/en/latest/
f1a0 3e 60 5f 20 70 72 6f 76 69 64 65 73 20 64 65 74 61 69 6c 65 64 20 69 6e 73 74 72 75 63 74 69 6f >`_.provides.detailed.instructio
f1c0 6e 73 20 6f 6e 20 74 68 65 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 2c 20 63 6f 6e 66 69 67 75 72 ns.on.the.installation,.configur
f1e0 61 74 69 6f 6e 2c 20 61 6e 64 20 6f 70 65 72 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 70 79 76 79 ation,.and.operation.of.the.pyvy
f200 6f 73 20 6c 69 62 72 61 72 79 2e 00 60 70 79 76 79 6f 73 20 53 6f 75 72 63 65 20 43 6f 64 65 20 os.library..`pyvyos.Source.Code.
f220 6f 6e 20 47 69 74 48 75 62 20 3c 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 72 6f on.GitHub.<https://github.com/ro
f240 62 65 72 74 6f 62 65 72 74 6f 2f 70 79 76 79 6f 73 3e 60 5f 20 61 6c 6c 6f 77 73 20 79 6f 75 20 bertoberto/pyvyos>`_.allows.you.
f260 74 6f 20 61 63 63 65 73 73 20 61 6e 64 20 63 6f 6e 74 72 69 62 75 74 65 20 74 6f 20 74 68 65 20 to.access.and.contribute.to.the.
f280 6c 69 62 72 61 72 79 27 73 20 63 6f 64 65 2e 00 60 70 79 76 79 6f 73 20 6f 6e 20 50 79 50 49 20 library's.code..`pyvyos.on.PyPI.
f2a0 3c 68 74 74 70 73 3a 2f 2f 70 79 70 69 2e 6f 72 67 2f 70 72 6f 6a 65 63 74 2f 70 79 76 79 6f 73 <https://pypi.org/project/pyvyos
f2c0 2f 3e 60 5f 20 66 6f 72 20 65 61 73 79 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e 20 76 69 61 20 70 />`_.for.easy.installation.via.p
f2e0 69 70 2c 20 74 68 65 20 50 79 74 68 6f 6e 20 70 61 63 6b 61 67 65 20 69 6e 73 74 61 6c 6c 65 72 ip,.the.Python.package.installer
f300 2e 20 45 78 65 63 75 74 65 20 60 70 69 70 20 69 6e 73 74 61 6c 6c 20 70 79 76 79 6f 73 60 20 69 ..Execute.`pip.install.pyvyos`.i
f320 6e 20 79 6f 75 72 20 74 65 72 6d 69 6e 61 6c 20 74 6f 20 69 6e 73 74 61 6c 6c 2e 00 61 64 64 20 n.your.terminal.to.install..add.
f340 61 6e 20 69 6d 61 67 65 00 61 6c 6c 00 61 6e 73 69 62 6c 65 2e 63 66 67 00 63 6c 6f 75 64 2d 63 an.image.all.ansible.cfg.cloud-c
f360 6f 6e 66 69 67 20 66 69 6c 65 20 66 6f 72 6d 61 74 00 63 6c 6f 75 64 2d 69 6e 69 74 20 6c 6f 67 onfig.file.format.cloud-init.log
f380 73 20 74 6f 20 2f 76 61 72 2f 6c 6f 67 2f 63 6c 6f 75 64 2d 69 6e 69 74 2e 6c 6f 67 2e 20 54 68 s.to./var/log/cloud-init.log..Th
f3a0 69 73 20 66 69 6c 65 20 63 61 6e 20 62 65 20 68 65 6c 70 66 75 6c 20 69 6e 20 64 65 74 65 72 6d is.file.can.be.helpful.in.determ
f3c0 69 6e 69 6e 67 20 77 68 79 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 76 61 72 69 ining.why.the.configuration.vari
f3e0 65 73 20 66 72 6f 6d 20 77 68 61 74 20 79 6f 75 20 65 78 70 65 63 74 2e 20 59 6f 75 20 63 61 6e es.from.what.you.expect..You.can
f400 20 66 65 74 63 68 20 74 68 65 20 6d 6f 73 74 20 69 6d 70 6f 72 74 61 6e 74 20 64 61 74 61 20 66 .fetch.the.most.important.data.f
f420 69 6c 74 65 72 69 6e 67 20 6f 75 74 70 75 74 20 66 6f 72 20 60 60 76 79 6f 73 60 60 20 6b 65 79 iltering.output.for.``vyos``.key
f440 77 6f 72 64 3a 00 63 6f 6d 6d 61 6e 64 73 2e 74 78 74 00 64 65 6c 65 74 65 20 61 6e 20 69 6d 61 word:.commands.txt.delete.an.ima
f460 67 65 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 60 60 31 2e 33 2d 72 6f 6c 6c 69 6e 67 2d 32 30 ge,.for.example.``1.3-rolling-20
f480 32 30 30 36 30 37 30 31 31 37 60 60 00 67 72 6f 75 70 5f 76 61 72 73 2f 61 6c 6c 00 68 6f 73 74 2006070117``.group_vars/all.host
f4a0 73 00 69 64 5f 72 73 61 5f 64 6f 63 6b 65 72 2e 70 75 62 2e 20 4e 65 65 64 73 20 74 6f 20 64 65 s.id_rsa_docker.pub..Needs.to.de
f4c0 63 6c 61 72 65 20 6f 6e 6c 79 20 70 75 62 6c 69 63 20 6b 65 79 20 65 78 61 63 74 6c 79 2e 00 69 clare.only.public.key.exactly..i
f4e0 66 20 79 6f 75 20 6a 75 73 74 20 77 61 6e 74 20 74 68 65 20 56 61 6c 75 65 20 6f 66 20 61 20 6d f.you.just.want.the.Value.of.a.m
f500 75 6c 74 69 2d 76 61 6c 75 65 64 20 6e 6f 64 65 2c 20 75 73 65 20 74 68 65 20 60 60 72 65 74 75 ulti-valued.node,.use.the.``retu
f520 72 6e 56 61 6c 75 65 73 60 60 20 6f 70 65 72 61 74 69 6f 6e 2e 00 69 6e 73 74 61 6e 63 65 2e 79 rnValues``.operation..instance.y
f540 6d 6c 00 6d 61 69 6e 2e 74 66 00 6d 61 69 6e 2e 79 6d 6c 00 6d 79 6b 65 79 2e 70 65 6d 00 6d 79 ml.main.tf.main.yml.mykey.pem.my
f560 6b 65 79 2e 70 65 6d 20 79 6f 75 20 68 61 76 65 20 74 6f 20 67 65 74 20 75 73 69 6e 67 20 73 74 key.pem.you.have.to.get.using.st
f580 65 70 20 31 2e 32 00 70 79 76 79 6f 73 00 70 79 76 79 6f 73 20 69 73 20 61 20 50 79 74 68 6f 6e ep.1.2.pyvyos.pyvyos.is.a.Python
f5a0 20 6c 69 62 72 61 72 79 20 64 65 73 69 67 6e 65 64 20 66 6f 72 20 69 6e 74 65 72 61 63 74 69 6e .library.designed.for.interactin
f5c0 67 20 77 69 74 68 20 56 79 4f 53 20 64 65 76 69 63 65 73 20 74 68 72 6f 75 67 68 20 74 68 65 69 g.with.VyOS.devices.through.thei
f5e0 72 20 41 50 49 2e 20 54 68 69 73 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 69 73 20 69 6e 74 r.API..This.documentation.is.int
f600 65 6e 64 65 64 20 74 6f 20 67 75 69 64 65 20 79 6f 75 20 69 6e 20 75 73 69 6e 67 20 70 79 76 79 ended.to.guide.you.in.using.pyvy
f620 6f 73 20 66 6f 72 20 70 72 6f 67 72 61 6d 6d 61 74 69 63 20 6d 61 6e 61 67 65 6d 65 6e 74 20 6f os.for.programmatic.management.o
f640 66 20 79 6f 75 72 20 56 79 4f 53 20 64 65 76 69 63 65 73 2e 00 72 31 31 2d 70 72 6f 78 79 2e 73 f.your.VyOS.devices..r11-proxy.s
f660 6c 73 20 49 6e 63 6c 75 64 65 73 20 70 61 72 61 6d 65 74 65 72 73 20 66 6f 72 20 63 6f 6e 6e 65 ls.Includes.parameters.for.conne
f680 63 74 69 6e 67 20 74 6f 20 73 61 6c 74 2d 70 72 6f 78 79 20 6d 69 6e 69 6f 6e 00 73 74 61 72 74 cting.to.salt-proxy.minion.start
f6a0 75 70 20 73 63 72 69 70 74 73 00 74 65 72 72 61 66 6f 72 6d 2e 74 66 76 61 72 73 00 74 6f 70 2e up.scripts.terraform.tfvars.top.
f6c0 73 6c 73 00 76 53 70 68 65 72 65 00 76 61 72 2e 74 66 00 76 61 72 69 61 62 6c 65 73 2e 74 66 00 sls.vSphere.var.tf.variables.tf.
f6e0 76 65 72 73 69 6f 6e 73 2e 74 66 00 76 65 72 73 75 73 20 61 20 6e 6f 6e 2d 65 78 69 73 74 65 6e versions.tf.versus.a.non-existen
f700 74 20 70 61 74 68 3a 00 76 79 6f 73 2e 74 66 00 t.path:.vyos.tf.