summaryrefslogtreecommitdiff
path: root/docs/_locale/ja/LC_MESSAGES/automation.mo
blob: 582684469eefa0858df50ba0a85f1ddf99570df8 (plain)
ofshex dumpascii
0000 de 12 04 95 00 00 00 00 ca 00 00 00 1c 00 00 00 6c 06 00 00 0d 01 00 00 bc 0c 00 00 00 00 00 00 ................l...............
0020 f0 10 00 00 69 00 00 00 f1 10 00 00 25 00 00 00 5b 11 00 00 6a 00 00 00 81 11 00 00 54 00 00 00 ....i.......%...[...j.......T...
0040 ec 11 00 00 5d 00 00 00 41 12 00 00 26 00 00 00 9f 12 00 00 0c 00 00 00 c6 12 00 00 0a 00 00 00 ....]...A...&...................
0060 d3 12 00 00 09 00 00 00 de 12 00 00 06 00 00 00 e8 12 00 00 06 00 00 00 ef 12 00 00 09 00 00 00 ................................
0080 f6 12 00 00 05 00 00 00 00 13 00 00 c2 00 00 00 06 13 00 00 f2 00 00 00 c9 13 00 00 6d 00 00 00 ............................m...
00a0 bc 14 00 00 3d 00 00 00 2a 15 00 00 0d 00 00 00 68 15 00 00 11 00 00 00 76 15 00 00 64 00 00 00 ....=...*.......h.......v...d...
00c0 88 15 00 00 44 00 00 00 ed 15 00 00 19 00 00 00 32 16 00 00 07 00 00 00 4c 16 00 00 8f 00 00 00 ....D...........2.......L.......
00e0 54 16 00 00 41 00 00 00 e4 16 00 00 0e 00 00 00 26 17 00 00 82 00 00 00 35 17 00 00 64 00 00 00 T...A...........&.......5...d...
0100 b8 17 00 00 22 00 00 00 1d 18 00 00 21 00 00 00 40 18 00 00 33 00 00 00 62 18 00 00 19 01 00 00 ....".......!...@...3...b.......
0120 96 18 00 00 14 00 00 00 b0 19 00 00 22 00 00 00 c5 19 00 00 15 00 00 00 e8 19 00 00 21 00 00 00 ............"...............!...
0140 fe 19 00 00 11 00 00 00 20 1a 00 00 23 00 00 00 32 1a 00 00 16 00 00 00 56 1a 00 00 0e 00 00 00 ............#...2.......V.......
0160 6d 1a 00 00 0d 00 00 00 7c 1a 00 00 98 00 00 00 8a 1a 00 00 18 00 00 00 23 1b 00 00 1f 00 00 00 m.......|...............#.......
0180 3c 1b 00 00 0f 00 00 00 5c 1b 00 00 c7 00 00 00 6c 1b 00 00 0f 00 00 00 34 1c 00 00 5c 00 00 00 <.......\.......l.......4...\...
01a0 44 1c 00 00 49 00 00 00 a1 1c 00 00 07 00 00 00 eb 1c 00 00 4f 00 00 00 f3 1c 00 00 19 00 00 00 D...I...............O...........
01c0 43 1d 00 00 13 00 00 00 5d 1d 00 00 08 00 00 00 71 1d 00 00 1f 00 00 00 7a 1d 00 00 26 00 00 00 C.......].......q.......z...&...
01e0 9a 1d 00 00 0d 00 00 00 c1 1d 00 00 53 00 00 00 cf 1d 00 00 3d 00 00 00 23 1e 00 00 3a 00 00 00 ............S.......=...#...:...
0200 61 1e 00 00 9d 00 00 00 9c 1e 00 00 37 00 00 00 3a 1f 00 00 2d 00 00 00 72 1f 00 00 b3 00 00 00 a...........7...:...-...r.......
0220 a0 1f 00 00 46 00 00 00 54 20 00 00 13 00 00 00 9b 20 00 00 19 00 00 00 af 20 00 00 55 00 00 00 ....F...T...................U...
0240 c9 20 00 00 a7 00 00 00 1f 21 00 00 3c 00 00 00 c7 21 00 00 4d 01 00 00 04 22 00 00 b3 00 00 00 .........!..<....!..M...."......
0260 52 23 00 00 8d 00 00 00 06 24 00 00 8f 00 00 00 94 24 00 00 42 00 00 00 24 25 00 00 2e 00 00 00 R#.......$.......$..B...$%......
0280 67 25 00 00 62 00 00 00 96 25 00 00 a9 00 00 00 f9 25 00 00 15 00 00 00 a3 26 00 00 c7 00 00 00 g%..b....%.......%.......&......
02a0 b9 26 00 00 1e 00 00 00 81 27 00 00 d7 00 00 00 a0 27 00 00 58 01 00 00 78 28 00 00 9b 00 00 00 .&.......'.......'..X...x(......
02c0 d1 29 00 00 30 00 00 00 6d 2a 00 00 06 00 00 00 9e 2a 00 00 07 00 00 00 a5 2a 00 00 0d 00 00 00 .)..0...m*.......*.......*......
02e0 ad 2a 00 00 b6 00 00 00 bb 2a 00 00 40 00 00 00 72 2b 00 00 07 00 00 00 b3 2b 00 00 06 00 00 00 .*.......*..@...r+.......+......
0300 bb 2b 00 00 fa 00 00 00 c2 2b 00 00 50 00 00 00 bd 2c 00 00 34 00 00 00 0e 2d 00 00 a5 00 00 00 .+.......+..P....,..4....-......
0320 43 2d 00 00 12 00 00 00 e9 2d 00 00 81 00 00 00 fc 2d 00 00 15 00 00 00 7e 2e 00 00 07 00 00 00 C-.......-.......-......~.......
0340 94 2e 00 00 16 00 00 00 9c 2e 00 00 06 00 00 00 b3 2e 00 00 0e 00 00 00 ba 2e 00 00 4a 00 00 00 ............................J...
0360 c9 2e 00 00 12 00 00 00 14 2f 00 00 1d 00 00 00 27 2f 00 00 11 00 00 00 45 2f 00 00 18 00 00 00 ........./......'/......E/......
0380 57 2f 00 00 28 00 00 00 70 2f 00 00 1e 00 00 00 99 2f 00 00 0a 00 00 00 b8 2f 00 00 70 00 00 00 W/..(...p/......./......./..p...
03a0 c3 2f 00 00 0b 00 00 00 34 30 00 00 15 00 00 00 40 30 00 00 1a 00 00 00 56 30 00 00 18 00 00 00 ./......40......@0......V0......
03c0 71 30 00 00 1d 00 00 00 8a 30 00 00 04 00 00 00 a8 30 00 00 1a 00 00 00 ad 30 00 00 27 00 00 00 q0.......0.......0.......0..'...
03e0 c8 30 00 00 8c 00 00 00 f0 30 00 00 15 00 00 00 7d 31 00 00 c9 00 00 00 93 31 00 00 62 00 00 00 .0.......0......}1.......1..b...
0400 5d 32 00 00 81 00 00 00 c0 32 00 00 17 00 00 00 42 33 00 00 12 00 00 00 5a 33 00 00 19 00 00 00 ]2.......2......B3......Z3......
0420 6d 33 00 00 18 01 00 00 87 33 00 00 7d 00 00 00 a0 34 00 00 80 00 00 00 1e 35 00 00 45 00 00 00 m3.......3..}....4.......5..E...
0440 9f 35 00 00 35 00 00 00 e5 35 00 00 2f 00 00 00 1b 36 00 00 d2 00 00 00 4b 36 00 00 84 00 00 00 .5..5....5../....6......K6......
0460 1e 37 00 00 48 00 00 00 a3 37 00 00 21 00 00 00 ec 37 00 00 61 00 00 00 0e 38 00 00 41 00 00 00 .7..H....7..!....7..a....8..A...
0480 70 38 00 00 70 00 00 00 b2 38 00 00 54 00 00 00 23 39 00 00 bc 00 00 00 78 39 00 00 85 00 00 00 p8..p....8..T...#9......x9......
04a0 35 3a 00 00 e7 00 00 00 bb 3a 00 00 2a 00 00 00 a3 3b 00 00 3b 00 00 00 ce 3b 00 00 93 00 00 00 5:.......:..*....;..;....;......
04c0 0a 3c 00 00 1d 00 00 00 9e 3c 00 00 37 00 00 00 bc 3c 00 00 8b 00 00 00 f4 3c 00 00 48 00 00 00 .<.......<..7....<.......<..H...
04e0 80 3d 00 00 90 00 00 00 c9 3d 00 00 7f 00 00 00 5a 3e 00 00 47 00 00 00 da 3e 00 00 0f 00 00 00 .=.......=......Z>..G....>......
0500 22 3f 00 00 95 00 00 00 32 3f 00 00 09 00 00 00 c8 3f 00 00 ac 00 00 00 d2 3f 00 00 2a 00 00 00 "?......2?.......?.......?..*...
0520 7f 40 00 00 39 00 00 00 aa 40 00 00 25 00 00 00 e4 40 00 00 08 00 00 00 0a 41 00 00 0f 00 00 00 .@..9....@..%....@.......A......
0540 13 41 00 00 18 00 00 00 23 41 00 00 0f 00 00 00 3c 41 00 00 3a 00 00 00 4c 41 00 00 48 00 00 00 .A......#A......<A..:...LA..H...
0560 87 41 00 00 2b 00 00 00 d0 41 00 00 64 00 00 00 fc 41 00 00 5c 00 00 00 61 42 00 00 64 00 00 00 .A..+....A..d....A..\...aB..d...
0580 be 42 00 00 32 00 00 00 23 43 00 00 5b 00 00 00 56 43 00 00 ed 01 00 00 b2 43 00 00 31 00 00 00 .B..2...#C..[...VC.......C..1...
05a0 a0 45 00 00 0e 01 00 00 d2 45 00 00 0c 00 00 00 e1 46 00 00 48 00 00 00 ee 46 00 00 4d 00 00 00 .E.......E.......F..H....F..M...
05c0 37 47 00 00 4e 00 00 00 85 47 00 00 59 00 00 00 d4 47 00 00 1b 00 00 00 2e 48 00 00 75 00 00 00 7G..N....G..Y....G.......H..u...
05e0 4a 48 00 00 18 00 00 00 c0 48 00 00 b5 00 00 00 d9 48 00 00 44 00 00 00 8f 49 00 00 15 01 00 00 JH.......H.......H..D....I......
0600 d4 49 00 00 0c 00 00 00 ea 4a 00 00 0b 00 00 00 f7 4a 00 00 18 00 00 00 03 4b 00 00 d3 00 00 00 .I.......J.......J.......K......
0620 1c 4b 00 00 0c 00 00 00 f0 4b 00 00 39 00 00 00 fd 4b 00 00 05 00 00 00 37 4c 00 00 3c 00 00 00 .K.......K..9....K......7L..<...
0640 3d 4c 00 00 56 00 00 00 7a 4c 00 00 08 00 00 00 d1 4c 00 00 45 00 00 00 da 4c 00 00 0f 00 00 00 =L..V...zL.......L..E....L......
0660 20 4d 00 00 07 00 00 00 30 4d 00 00 cd 00 00 00 38 4d 00 00 69 00 00 00 06 4e 00 00 25 00 00 00 .M......0M......8M..i....N..%...
0680 70 4e 00 00 6a 00 00 00 96 4e 00 00 54 00 00 00 01 4f 00 00 5d 00 00 00 56 4f 00 00 26 00 00 00 pN..j....N..T....O..]...VO..&...
06a0 b4 4f 00 00 0c 00 00 00 db 4f 00 00 0a 00 00 00 e8 4f 00 00 09 00 00 00 f3 4f 00 00 06 00 00 00 .O.......O.......O.......O......
06c0 fd 4f 00 00 06 00 00 00 04 50 00 00 09 00 00 00 0b 50 00 00 05 00 00 00 15 50 00 00 c2 00 00 00 .O.......P.......P.......P......
06e0 1b 50 00 00 f2 00 00 00 de 50 00 00 6d 00 00 00 d1 51 00 00 3d 00 00 00 3f 52 00 00 0d 00 00 00 .P.......P..m....Q..=...?R......
0700 7d 52 00 00 11 00 00 00 8b 52 00 00 64 00 00 00 9d 52 00 00 44 00 00 00 02 53 00 00 19 00 00 00 }R.......R..d....R..D....S......
0720 47 53 00 00 07 00 00 00 61 53 00 00 8f 00 00 00 69 53 00 00 41 00 00 00 f9 53 00 00 0e 00 00 00 GS......aS......iS..A....S......
0740 3b 54 00 00 82 00 00 00 4a 54 00 00 64 00 00 00 cd 54 00 00 22 00 00 00 32 55 00 00 21 00 00 00 ;T......JT..d....T.."...2U..!...
0760 55 55 00 00 33 00 00 00 77 55 00 00 19 01 00 00 ab 55 00 00 14 00 00 00 c5 56 00 00 22 00 00 00 UU..3...wU.......U.......V.."...
0780 da 56 00 00 15 00 00 00 fd 56 00 00 21 00 00 00 13 57 00 00 11 00 00 00 35 57 00 00 23 00 00 00 .V.......V..!....W......5W..#...
07a0 47 57 00 00 16 00 00 00 6b 57 00 00 0e 00 00 00 82 57 00 00 0d 00 00 00 91 57 00 00 98 00 00 00 GW......kW.......W.......W......
07c0 9f 57 00 00 18 00 00 00 38 58 00 00 1f 00 00 00 51 58 00 00 0f 00 00 00 71 58 00 00 c7 00 00 00 .W......8X......QX......qX......
07e0 81 58 00 00 0f 00 00 00 49 59 00 00 5c 00 00 00 59 59 00 00 49 00 00 00 b6 59 00 00 07 00 00 00 .X......IY..\...YY..I....Y......
0800 00 5a 00 00 4f 00 00 00 08 5a 00 00 19 00 00 00 58 5a 00 00 13 00 00 00 72 5a 00 00 08 00 00 00 .Z..O....Z......XZ......rZ......
0820 86 5a 00 00 1f 00 00 00 8f 5a 00 00 26 00 00 00 af 5a 00 00 0d 00 00 00 d6 5a 00 00 53 00 00 00 .Z.......Z..&....Z.......Z..S...
0840 e4 5a 00 00 3d 00 00 00 38 5b 00 00 3a 00 00 00 76 5b 00 00 9d 00 00 00 b1 5b 00 00 37 00 00 00 .Z..=...8[..:...v[.......[..7...
0860 4f 5c 00 00 2d 00 00 00 87 5c 00 00 b3 00 00 00 b5 5c 00 00 46 00 00 00 69 5d 00 00 13 00 00 00 O\..-....\.......\..F...i]......
0880 b0 5d 00 00 19 00 00 00 c4 5d 00 00 55 00 00 00 de 5d 00 00 a7 00 00 00 34 5e 00 00 3c 00 00 00 .].......]..U....]......4^..<...
08a0 dc 5e 00 00 4d 01 00 00 19 5f 00 00 b3 00 00 00 67 60 00 00 8d 00 00 00 1b 61 00 00 8f 00 00 00 .^..M...._......g`.......a......
08c0 a9 61 00 00 42 00 00 00 39 62 00 00 2e 00 00 00 7c 62 00 00 62 00 00 00 ab 62 00 00 a9 00 00 00 .a..B...9b......|b..b....b......
08e0 0e 63 00 00 15 00 00 00 b8 63 00 00 c7 00 00 00 ce 63 00 00 1e 00 00 00 96 64 00 00 d7 00 00 00 .c.......c.......c.......d......
0900 b5 64 00 00 58 01 00 00 8d 65 00 00 9b 00 00 00 e6 66 00 00 30 00 00 00 82 67 00 00 06 00 00 00 .d..X....e.......f..0....g......
0920 b3 67 00 00 07 00 00 00 ba 67 00 00 0d 00 00 00 c2 67 00 00 b6 00 00 00 d0 67 00 00 40 00 00 00 .g.......g.......g.......g..@...
0940 87 68 00 00 07 00 00 00 c8 68 00 00 06 00 00 00 d0 68 00 00 fa 00 00 00 d7 68 00 00 50 00 00 00 .h.......h.......h.......h..P...
0960 d2 69 00 00 34 00 00 00 23 6a 00 00 a5 00 00 00 58 6a 00 00 12 00 00 00 fe 6a 00 00 81 00 00 00 .i..4...#j......Xj.......j......
0980 11 6b 00 00 15 00 00 00 93 6b 00 00 07 00 00 00 a9 6b 00 00 16 00 00 00 b1 6b 00 00 06 00 00 00 .k.......k.......k.......k......
09a0 c8 6b 00 00 0e 00 00 00 cf 6b 00 00 4a 00 00 00 de 6b 00 00 12 00 00 00 29 6c 00 00 1d 00 00 00 .k.......k..J....k......)l......
09c0 3c 6c 00 00 11 00 00 00 5a 6c 00 00 18 00 00 00 6c 6c 00 00 28 00 00 00 85 6c 00 00 1e 00 00 00 <l......Zl......ll..(....l......
09e0 ae 6c 00 00 0a 00 00 00 cd 6c 00 00 70 00 00 00 d8 6c 00 00 0b 00 00 00 49 6d 00 00 15 00 00 00 .l.......l..p....l......Im......
0a00 55 6d 00 00 1a 00 00 00 6b 6d 00 00 18 00 00 00 86 6d 00 00 1d 00 00 00 9f 6d 00 00 04 00 00 00 Um......km.......m.......m......
0a20 bd 6d 00 00 1a 00 00 00 c2 6d 00 00 27 00 00 00 dd 6d 00 00 8c 00 00 00 05 6e 00 00 15 00 00 00 .m.......m..'....m.......n......
0a40 92 6e 00 00 c9 00 00 00 a8 6e 00 00 62 00 00 00 72 6f 00 00 81 00 00 00 d5 6f 00 00 17 00 00 00 .n.......n..b...ro.......o......
0a60 57 70 00 00 12 00 00 00 6f 70 00 00 19 00 00 00 82 70 00 00 18 01 00 00 9c 70 00 00 7d 00 00 00 Wp......op.......p.......p..}...
0a80 b5 71 00 00 80 00 00 00 33 72 00 00 45 00 00 00 b4 72 00 00 35 00 00 00 fa 72 00 00 2f 00 00 00 .q......3r..E....r..5....r../...
0aa0 30 73 00 00 d2 00 00 00 60 73 00 00 84 00 00 00 33 74 00 00 48 00 00 00 b8 74 00 00 21 00 00 00 0s......`s......3t..H....t..!...
0ac0 01 75 00 00 61 00 00 00 23 75 00 00 41 00 00 00 85 75 00 00 70 00 00 00 c7 75 00 00 54 00 00 00 .u..a...#u..A....u..p....u..T...
0ae0 38 76 00 00 bc 00 00 00 8d 76 00 00 85 00 00 00 4a 77 00 00 e7 00 00 00 d0 77 00 00 2a 00 00 00 8v.......v......Jw.......w..*...
0b00 b8 78 00 00 3b 00 00 00 e3 78 00 00 93 00 00 00 1f 79 00 00 1d 00 00 00 b3 79 00 00 37 00 00 00 .x..;....x.......y.......y..7...
0b20 d1 79 00 00 8b 00 00 00 09 7a 00 00 48 00 00 00 95 7a 00 00 90 00 00 00 de 7a 00 00 7f 00 00 00 .y.......z..H....z.......z......
0b40 6f 7b 00 00 47 00 00 00 ef 7b 00 00 0f 00 00 00 37 7c 00 00 95 00 00 00 47 7c 00 00 09 00 00 00 o{..G....{......7|......G|......
0b60 dd 7c 00 00 ac 00 00 00 e7 7c 00 00 2a 00 00 00 94 7d 00 00 39 00 00 00 bf 7d 00 00 25 00 00 00 .|.......|..*....}..9....}..%...
0b80 f9 7d 00 00 08 00 00 00 1f 7e 00 00 0f 00 00 00 28 7e 00 00 18 00 00 00 38 7e 00 00 0f 00 00 00 .}.......~......(~......8~......
0ba0 51 7e 00 00 3a 00 00 00 61 7e 00 00 48 00 00 00 9c 7e 00 00 2b 00 00 00 e5 7e 00 00 64 00 00 00 Q~..:...a~..H....~..+....~..d...
0bc0 11 7f 00 00 5c 00 00 00 76 7f 00 00 64 00 00 00 d3 7f 00 00 32 00 00 00 38 80 00 00 5b 00 00 00 ....\...v...d.......2...8...[...
0be0 6b 80 00 00 ed 01 00 00 c7 80 00 00 31 00 00 00 b5 82 00 00 0e 01 00 00 e7 82 00 00 0c 00 00 00 k...........1...................
0c00 f6 83 00 00 48 00 00 00 03 84 00 00 4d 00 00 00 4c 84 00 00 4e 00 00 00 9a 84 00 00 59 00 00 00 ....H.......M...L...N.......Y...
0c20 e9 84 00 00 1b 00 00 00 43 85 00 00 75 00 00 00 5f 85 00 00 18 00 00 00 d5 85 00 00 b5 00 00 00 ........C...u..._...............
0c40 ee 85 00 00 44 00 00 00 a4 86 00 00 15 01 00 00 e9 86 00 00 0c 00 00 00 ff 87 00 00 0b 00 00 00 ....D...........................
0c60 0c 88 00 00 18 00 00 00 18 88 00 00 d3 00 00 00 31 88 00 00 0c 00 00 00 05 89 00 00 39 00 00 00 ................1...........9...
0c80 12 89 00 00 05 00 00 00 4c 89 00 00 3c 00 00 00 52 89 00 00 56 00 00 00 8f 89 00 00 08 00 00 00 ........L...<...R...V...........
0ca0 e6 89 00 00 45 00 00 00 ef 89 00 00 0f 00 00 00 35 8a 00 00 07 00 00 00 45 8a 00 00 01 00 00 00 ....E...........5.......E.......
0cc0 4c 00 00 00 9c 00 00 00 00 00 00 00 7d 00 00 00 aa 00 00 00 38 00 00 00 1f 00 00 00 00 00 00 00 L...........}.......8...........
0ce0 49 00 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 21 00 00 00 b2 00 00 00 44 00 00 00 64 00 00 00 I...............!.......D...d...
0d00 a0 00 00 00 12 00 00 00 b3 00 00 00 ab 00 00 00 29 00 00 00 c6 00 00 00 0d 00 00 00 95 00 00 00 ................)...............
0d20 8c 00 00 00 14 00 00 00 9e 00 00 00 00 00 00 00 87 00 00 00 62 00 00 00 39 00 00 00 32 00 00 00 ....................b...9...2...
0d40 00 00 00 00 ca 00 00 00 00 00 00 00 00 00 00 00 ad 00 00 00 00 00 00 00 97 00 00 00 00 00 00 00 ................................
0d60 6f 00 00 00 00 00 00 00 3d 00 00 00 72 00 00 00 00 00 00 00 6d 00 00 00 b1 00 00 00 81 00 00 00 o.......=...r.......m...........
0d80 31 00 00 00 26 00 00 00 1d 00 00 00 c5 00 00 00 c2 00 00 00 92 00 00 00 00 00 00 00 bd 00 00 00 1...&...........................
0da0 00 00 00 00 15 00 00 00 4d 00 00 00 46 00 00 00 24 00 00 00 c1 00 00 00 00 00 00 00 40 00 00 00 ........M...F...$...........@...
0dc0 65 00 00 00 51 00 00 00 3f 00 00 00 00 00 00 00 99 00 00 00 88 00 00 00 a1 00 00 00 00 00 00 00 e...Q...?.......................
0de0 00 00 00 00 30 00 00 00 c4 00 00 00 00 00 00 00 75 00 00 00 5a 00 00 00 9f 00 00 00 22 00 00 00 ....0...........u...Z......."...
0e00 2d 00 00 00 86 00 00 00 28 00 00 00 00 00 00 00 c8 00 00 00 00 00 00 00 90 00 00 00 6b 00 00 00 -.......(...................k...
0e20 00 00 00 00 00 00 00 00 a4 00 00 00 73 00 00 00 25 00 00 00 ba 00 00 00 af 00 00 00 00 00 00 00 ............s...%...............
0e40 19 00 00 00 6a 00 00 00 00 00 00 00 89 00 00 00 00 00 00 00 b8 00 00 00 53 00 00 00 b7 00 00 00 ....j...................S.......
0e60 7c 00 00 00 00 00 00 00 be 00 00 00 78 00 00 00 2f 00 00 00 36 00 00 00 2e 00 00 00 2b 00 00 00 |...........x.../...6.......+...
0e80 00 00 00 00 7a 00 00 00 3e 00 00 00 a5 00 00 00 c9 00 00 00 17 00 00 00 8f 00 00 00 00 00 00 00 ....z...>.......................
0ea0 1e 00 00 00 00 00 00 00 35 00 00 00 4b 00 00 00 6c 00 00 00 11 00 00 00 b6 00 00 00 70 00 00 00 ........5...K...l...........p...
0ec0 00 00 00 00 80 00 00 00 41 00 00 00 18 00 00 00 10 00 00 00 00 00 00 00 9d 00 00 00 00 00 00 00 ........A.......................
0ee0 43 00 00 00 00 00 00 00 00 00 00 00 2a 00 00 00 a8 00 00 00 1b 00 00 00 00 00 00 00 00 00 00 00 C...........*...................
0f00 57 00 00 00 a7 00 00 00 60 00 00 00 09 00 00 00 74 00 00 00 a2 00 00 00 c3 00 00 00 61 00 00 00 W.......`.......t...........a...
0f20 00 00 00 00 7f 00 00 00 94 00 00 00 47 00 00 00 00 00 00 00 20 00 00 00 59 00 00 00 1a 00 00 00 ............G...........Y.......
0f40 00 00 00 00 93 00 00 00 1c 00 00 00 00 00 00 00 48 00 00 00 a6 00 00 00 00 00 00 00 0e 00 00 00 ................H...............
0f60 00 00 00 00 ae 00 00 00 63 00 00 00 5e 00 00 00 00 00 00 00 00 00 00 00 bf 00 00 00 00 00 00 00 ........c...^...................
0f80 76 00 00 00 5f 00 00 00 34 00 00 00 7e 00 00 00 02 00 00 00 00 00 00 00 42 00 00 00 69 00 00 00 v..._...4...~...........B...i...
0fa0 54 00 00 00 33 00 00 00 00 00 00 00 71 00 00 00 9a 00 00 00 55 00 00 00 98 00 00 00 00 00 00 00 T...3.......q.......U...........
0fc0 23 00 00 00 ac 00 00 00 7b 00 00 00 13 00 00 00 b9 00 00 00 00 00 00 00 00 00 00 00 b4 00 00 00 #.......{.......................
0fe0 5b 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00 c0 00 00 00 79 00 00 00 66 00 00 00 c7 00 00 00 [...................y...f.......
1000 3c 00 00 00 58 00 00 00 a3 00 00 00 07 00 00 00 00 00 00 00 8b 00 00 00 bb 00 00 00 84 00 00 00 <...X...........................
1020 68 00 00 00 5c 00 00 00 2c 00 00 00 00 00 00 00 52 00 00 00 4f 00 00 00 5d 00 00 00 8d 00 00 00 h...\...,.......R...O...].......
1040 06 00 00 00 45 00 00 00 00 00 00 00 96 00 00 00 0c 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 ....E...........................
1060 00 00 00 00 00 00 00 00 56 00 00 00 16 00 00 00 6e 00 00 00 8e 00 00 00 00 00 00 00 3a 00 00 00 ........V.......n...........:...
1080 37 00 00 00 67 00 00 00 b5 00 00 00 83 00 00 00 4e 00 00 00 27 00 00 00 04 00 00 00 4a 00 00 00 7...g...........N...'.......J...
10a0 00 00 00 00 91 00 00 00 00 00 00 00 bc 00 00 00 85 00 00 00 0b 00 00 00 0f 00 00 00 3b 00 00 00 ............................;...
10c0 00 00 00 00 50 00 00 00 00 00 00 00 a9 00 00 00 00 00 00 00 b0 00 00 00 9b 00 00 00 82 00 00 00 ....P...........................
10e0 05 00 00 00 77 00 00 00 8a 00 00 00 00 00 00 00 00 2a 2a 4e 4f 54 45 2a 2a 3a 20 62 65 20 63 61 ....w............**NOTE**:.be.ca
1100 72 65 66 75 6c 6c 20 77 68 69 6c 65 20 63 6f 70 79 69 6e 67 20 61 6e 64 20 70 61 73 74 69 6e 67 refull.while.copying.and.pasting
1120 20 70 72 65 76 69 6f 75 73 20 63 6f 6d 6d 61 6e 64 73 2e 20 44 6f 62 6c 65 20 71 75 6f 74 65 73 .previous.commands..Doble.quotes
1140 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 2e 00 2a 2a 6d 65 74 .may.need.to.be.corrected..**met
1160 61 2d 64 61 74 61 2a 2a 3a 20 65 6d 70 74 79 20 66 69 6c 65 20 28 72 65 71 75 69 72 65 64 29 2e a-data**:.empty.file.(required).
1180 00 2a 2a 6e 65 74 77 6f 72 6b 2d 63 6f 6e 66 69 67 2a 2a 20 66 69 6c 65 20 6f 6e 6c 79 20 68 61 .**network-config**.file.only.ha
11a0 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 74 68 61 74 20 64 69 73 61 62 6c 65 73 20 74 68 s.configuration.that.disables.th
11c0 65 20 61 75 74 6f 6d 61 74 69 63 20 64 68 63 70 20 63 6c 69 65 6e 74 20 6f 6e 20 66 69 72 73 74 e.automatic.dhcp.client.on.first
11e0 20 69 6e 74 65 72 66 61 63 65 2e 00 2a 2a 6e 65 74 77 6f 72 6b 2d 63 6f 6e 66 69 67 2a 2a 3a 20 .interface..**network-config**:.
1200 66 69 6c 65 20 74 68 61 74 20 77 69 6c 6c 20 69 6e 64 69 63 61 74 65 20 74 6f 20 61 76 6f 69 64 file.that.will.indicate.to.avoid
1220 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 61 63 65 2e .dhcp.client.on.first.interface.
1240 00 2a 2a 75 73 65 72 2d 64 61 74 61 2a 2a 20 66 69 6c 65 20 6d 75 73 74 20 73 74 61 72 74 20 77 .**user-data**.file.must.start.w
1260 69 74 68 20 60 60 23 63 6c 6f 75 64 2d 63 6f 6e 66 69 67 60 60 20 61 6e 64 20 63 6f 6e 74 61 69 ith.``#cloud-config``.and.contai
1280 6e 73 20 76 79 6f 73 2d 63 6f 6d 6d 61 6e 64 73 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 3a 00 2a ns.vyos-commands..For.example:.*
12a0 2a 75 73 65 72 2d 64 61 74 61 2a 2a 3a 20 69 6e 63 6c 75 64 65 73 20 76 79 6f 73 2d 63 6f 6d 6d *user-data**:.includes.vyos-comm
12c0 61 6e 64 73 2e 00 2f 63 6f 6e 66 69 67 2d 66 69 6c 65 00 2f 63 6f 6e 66 69 67 75 72 65 00 2f 67 ands../config-file./configure./g
12e0 65 6e 65 72 61 74 65 00 2f 69 6d 61 67 65 00 2f 72 65 73 65 74 00 2f 72 65 74 72 69 65 76 65 00 enerate./image./reset./retrieve.
1300 2f 73 68 6f 77 00 41 20 56 79 4f 53 20 71 63 6f 77 20 69 6d 61 67 65 20 77 69 74 68 20 63 6c 6f /show.A.VyOS.qcow.image.with.clo
1320 75 64 2d 69 6e 69 74 20 6f 70 74 69 6f 6e 73 20 69 73 20 6e 65 65 64 65 64 2e 20 54 68 69 73 20 ud-init.options.is.needed..This.
1340 63 61 6e 20 62 65 20 6f 62 74 61 69 6e 65 64 20 75 73 69 6e 67 20 60 76 79 6f 73 2d 76 6d 2d 69 can.be.obtained.using.`vyos-vm-i
1360 6d 61 67 65 73 60 5f 20 72 65 70 6f 2e 20 41 66 74 65 72 20 63 6c 6f 6e 6e 69 6e 67 20 74 68 65 mages`_.repo..After.clonning.the
1380 20 72 65 70 6f 2c 20 65 64 69 74 20 74 68 65 20 66 69 6c 65 20 2a 2a 71 65 6d 75 2e 79 6d 6c 2a .repo,.edit.the.file.**qemu.yml*
13a0 2a 20 61 6e 64 20 63 6f 6d 6d 65 6e 74 20 74 68 65 20 2a 2a 64 6f 77 6e 6c 6f 61 64 2d 69 73 6f *.and.comment.the.**download-iso
13c0 2a 2a 20 72 6f 6c 65 2e 00 41 20 63 6c 6f 75 64 2d 63 6f 6e 66 69 67 20 64 6f 63 75 6d 65 6e 74 **.role..A.cloud-config.document
13e0 20 69 73 20 77 72 69 74 74 65 6e 20 69 6e 20 59 41 4d 4c 2e 20 54 68 65 20 66 69 6c 65 20 6d 75 .is.written.in.YAML..The.file.mu
1400 73 74 20 62 65 67 69 6e 20 77 69 74 68 20 60 60 23 63 6c 6f 75 64 2d 63 6f 6e 66 69 67 60 60 20 st.begin.with.``#cloud-config``.
1420 6c 69 6e 65 2e 20 54 68 65 20 6f 6e 6c 79 20 73 75 70 70 6f 72 74 65 64 20 74 6f 70 2d 6c 65 76 line..The.only.supported.top-lev
1440 65 6c 20 6b 65 79 73 20 61 72 65 20 60 60 76 79 6f 73 5f 63 6f 6e 66 69 67 5f 63 6f 6d 6d 61 6e el.keys.are.``vyos_config_comman
1460 64 73 60 60 20 61 6e 64 20 60 60 77 72 69 74 65 5f 66 69 6c 65 73 60 60 2e 20 54 68 65 20 75 73 ds``.and.``write_files``..The.us
1480 65 20 6f 66 20 74 68 65 73 65 20 6b 65 79 73 20 69 73 20 64 65 73 63 72 69 62 65 64 20 69 6e 20 e.of.these.keys.is.described.in.
14a0 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 74 77 6f 20 73 65 63 74 69 6f 6e 73 2e 00 41 20 73 69 the.following.two.sections..A.si
14c0 6d 70 6c 65 20 65 78 61 6d 70 6c 65 20 69 73 20 73 68 6f 77 6e 20 62 65 6c 6f 77 2c 20 77 68 65 mple.example.is.shown.below,.whe
14e0 72 65 20 74 68 65 20 6f 70 73 20 63 6f 6d 6d 61 6e 64 20 65 78 65 63 75 74 65 64 20 69 6e 20 74 re.the.ops.command.executed.in.t
1500 68 65 20 70 6f 73 74 2d 68 6f 6f 6b 20 73 63 72 69 70 74 20 69 73 20 22 73 68 6f 77 20 69 6e 74 he.post-hook.script.is."show.int
1520 65 72 66 61 63 65 73 22 2e 00 41 20 73 69 6e 67 6c 65 2d 71 75 6f 74 65 20 73 79 6d 62 6f 6c 20 erfaces"..A.single-quote.symbol.
1540 69 73 20 6e 6f 74 20 61 6c 6c 6f 77 65 64 20 69 6e 73 69 64 65 20 63 6f 6d 6d 61 6e 64 20 6f 72 is.not.allowed.inside.command.or
1560 20 76 61 6c 75 65 2e 00 41 50 49 20 45 6e 64 70 6f 69 6e 74 73 00 41 63 63 65 70 74 20 6d 69 6e .value..API.Endpoints.Accept.min
1580 69 6f 6e 20 6b 65 79 00 41 6c 6c 20 65 6e 64 70 6f 69 6e 74 73 20 6f 6e 6c 79 20 6c 69 73 74 65 ion.key.All.endpoints.only.liste
15a0 6e 20 6f 6e 20 48 54 54 50 20 50 4f 53 54 20 72 65 71 75 65 73 74 73 20 61 6e 64 20 74 68 65 20 n.on.HTTP.POST.requests.and.the.
15c0 41 50 49 20 4b 45 59 20 6d 75 73 74 20 73 65 74 20 61 73 20 60 60 6b 65 79 60 60 20 69 6e 20 74 API.KEY.must.set.as.``key``.in.t
15e0 68 65 20 66 6f 72 6d 64 61 74 61 2e 00 41 6c 6c 20 6f 66 20 74 68 65 73 65 20 63 61 6e 20 62 65 he.formdata..All.of.these.can.be
1600 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 74 .overridden.using.the.configurat
1620 69 6f 6e 20 69 6e 20 75 73 65 72 2d 64 61 74 61 2e 00 41 6c 73 6f 2c 20 74 68 69 73 20 6c 61 62 ion.in.user-data..Also,.this.lab
1640 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 63 61 .considers:.Ansible.Any.modifica
1660 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 20 75 tions.were.done.to.work.around.u
1680 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 6e 63 nfixed.bugs.and.implement.enhanc
16a0 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 6e 20 ements.that.are.not.complete.in.
16c0 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 68 65 the.VyOS.system.can.be.placed.he
16e0 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 6d 65 re..At.this.step.we.can.get.some
1700 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 20 6e .op-mode.information.from.VyOS.n
1720 6f 64 65 73 3a 00 41 75 74 68 65 6e 74 69 63 61 74 69 6f 6e 00 42 65 66 6f 72 65 20 73 74 61 72 odes:.Authentication.Before.star
1740 74 69 6e 67 2c 20 70 6c 65 61 73 65 20 72 65 66 65 72 20 74 6f 20 63 6c 6f 75 64 2d 69 6e 69 74 ting,.please.refer.to.cloud-init
1760 20 60 6e 65 74 77 6f 72 6b 2d 63 6f 6e 66 69 67 2d 64 6f 63 73 60 5f 20 69 6e 20 6f 72 64 65 72 .`network-config-docs`_.in.order
1780 20 74 6f 20 6b 6e 6f 77 20 68 6f 77 20 74 6f 20 69 6d 70 6f 72 74 20 75 73 65 72 20 61 6e 64 20 .to.know.how.to.import.user.and.
17a0 6e 65 74 77 6f 72 6b 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 73 2e 00 42 65 6c 6f 77 20 73 65 network.configurations..Below.se
17c0 65 20 6f 6e 65 20 65 78 61 6d 70 6c 65 20 66 6f 72 20 63 75 72 6c 20 61 6e 64 20 6f 6e 65 20 66 e.one.example.for.curl.and.one.f
17e0 6f 72 20 70 79 74 68 6f 6e 2e 20 54 68 65 20 72 65 73 74 20 6f 66 20 74 68 65 20 64 6f 63 75 6d or.python..The.rest.of.the.docum
1800 65 6e 74 61 74 69 6f 6e 20 69 73 20 72 65 64 75 63 65 64 20 74 6f 20 63 75 72 6c 2e 00 43 68 65 entation.is.reduced.to.curl..Che
1820 63 6b 20 73 61 6c 74 2d 6b 65 79 73 20 6f 6e 20 74 68 65 20 73 61 6c 74 20 6d 61 73 74 65 72 00 ck.salt-keys.on.the.salt.master.
1840 43 68 65 63 6b 20 74 68 61 74 20 70 72 6f 78 79 20 6d 69 6e 69 6f 6e 20 69 73 20 61 6c 69 76 65 Check.that.proxy.minion.is.alive
1860 3a 00 43 68 65 63 6b 20 74 68 61 74 20 73 61 6c 74 20 6d 61 73 74 65 72 20 63 61 6e 20 63 6f 6d :.Check.that.salt.master.can.com
1880 6d 75 6e 69 63 61 74 65 20 77 69 74 68 20 6d 69 6e 69 6f 6e 73 00 43 6c 6f 75 64 20 61 6e 64 20 municate.with.minions.Cloud.and.
18a0 76 69 72 74 75 61 6c 69 7a 65 64 20 69 6e 73 74 61 6e 63 65 73 20 6f 66 20 56 79 4f 53 20 61 72 virtualized.instances.of.VyOS.ar
18c0 65 20 69 6e 69 74 69 61 6c 69 7a 65 64 20 75 73 69 6e 67 20 74 68 65 20 69 6e 64 75 73 74 72 79 e.initialized.using.the.industry
18e0 2d 73 74 61 6e 64 61 72 64 20 63 6c 6f 75 64 2d 69 6e 69 74 2e 20 56 69 61 20 63 6c 6f 75 64 2d -standard.cloud-init..Via.cloud-
1900 69 6e 69 74 2c 20 74 68 65 20 73 79 73 74 65 6d 20 70 65 72 66 6f 72 6d 73 20 74 61 73 6b 73 20 init,.the.system.performs.tasks.
1920 73 75 63 68 20 61 73 20 69 6e 6a 65 63 74 69 6e 67 20 53 53 48 20 6b 65 79 73 20 61 6e 64 20 63 such.as.injecting.SSH.keys.and.c
1940 6f 6e 66 69 67 75 72 69 6e 67 20 74 68 65 20 6e 65 74 77 6f 72 6b 2e 20 49 6e 20 61 64 64 69 74 onfiguring.the.network..In.addit
1960 69 6f 6e 2c 20 74 68 65 20 75 73 65 72 20 63 61 6e 20 73 75 70 70 6c 79 20 61 20 63 75 73 74 6f ion,.the.user.can.supply.a.custo
1980 6d 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 74 20 74 68 65 20 74 69 6d 65 20 6f 66 20 69 m.configuration.at.the.time.of.i
19a0 6e 73 74 61 6e 63 65 20 6c 61 75 6e 63 68 2e 00 43 6c 6f 75 64 2d 63 6f 6e 66 69 67 20 6d 6f 64 nstance.launch..Cloud-config.mod
19c0 75 6c 65 73 00 43 6c 6f 75 64 2d 69 6e 69 74 20 60 6e 65 74 77 6f 72 6b 2d 63 6f 6e 66 69 67 2d ules.Cloud-init.`network-config-
19e0 64 6f 63 73 60 5f 2e 00 43 6c 6f 75 64 2d 69 6e 69 74 20 6f 6e 20 50 72 6f 78 6d 6f 78 00 43 6f docs`_..Cloud-init.on.Proxmox.Co
1a00 6d 6d 61 6e 64 20 45 78 65 63 75 74 69 6f 6e 20 61 74 20 49 6e 69 74 69 61 6c 20 42 6f 6f 74 00 mmand.Execution.at.Initial.Boot.
1a20 43 6f 6d 6d 61 6e 64 20 53 63 72 69 70 74 69 6e 67 00 43 6f 6d 6d 61 6e 64 20 66 6f 72 20 67 65 Command.Scripting.Command.for.ge
1a40 6e 65 72 61 74 69 6e 67 20 60 60 73 65 65 64 2e 69 73 6f 60 60 00 43 6f 6d 6d 61 6e 64 73 20 72 nerating.``seed.iso``.Commands.r
1a60 65 71 75 69 72 65 6d 65 6e 74 73 3a 00 43 6f 6e 66 69 67 20 53 6f 75 72 63 65 73 00 43 6f 6e 66 equirements:.Config.Sources.Conf
1a80 69 67 75 72 61 74 69 6f 6e 00 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 iguration.Configuration.commands
1aa0 20 61 72 65 20 65 78 65 63 75 74 65 64 20 6a 75 73 74 20 6c 69 6b 65 20 66 72 6f 6d 20 61 20 6e .are.executed.just.like.from.a.n
1ac0 6f 72 6d 61 6c 20 63 6f 6e 66 69 67 20 73 65 73 73 69 6f 6e 2e 20 46 6f 72 20 65 78 61 6d 70 6c ormal.config.session..For.exampl
1ae0 65 2c 20 69 66 20 79 6f 75 20 77 61 6e 74 20 74 6f 20 64 69 73 61 62 6c 65 20 61 20 42 47 50 20 e,.if.you.want.to.disable.a.BGP.
1b00 70 65 65 72 20 6f 6e 20 56 52 52 50 20 74 72 61 6e 73 69 74 69 6f 6e 20 74 6f 20 62 61 63 6b 75 peer.on.VRRP.transition.to.backu
1b20 70 3a 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 p:.Content.of.commands.conf.Cont
1b40 65 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 ent.of.network-config.file:.Crea
1b60 74 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 te.seed.iso.Create.text.files.na
1b80 6d 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 med.user-data.and.meta-data..On.
1ba0 6c 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 linux-based.systems,.the.mkisofs
1bc0 20 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 .utility.can.be.used.to.create.t
1be0 68 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 he.seed.ISO..The.following.synta
1c00 78 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 x.will.add.these.files.to.the.IS
1c20 4f 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 O.9660.file.system..Creating.the
1c40 20 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 .VM.Custom.scripts.are.not.execu
1c60 74 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 ted.with.root.privileges.(Use.su
1c80 64 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 do.inside.if.this.is.necessary).
1ca0 00 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 .DHCP.on.first.Ethernet.interfac
1cc0 65 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 e.if.no.network.configuration.is
1ce0 20 70 72 6f 76 69 64 65 64 2e 00 45 78 61 6d 70 6c 65 00 45 78 61 6d 70 6c 65 20 6f 66 20 63 6f .provided..Example.Example.of.co
1d00 6e 66 69 67 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 nfiguration.commands.from.the.fi
1d20 6c 65 20 22 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 le."/srv/salt/states/commands.tx
1d40 74 22 00 45 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 t".Example.of.configuration:.Exa
1d60 6d 70 6c 65 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 mple.of.op-mode:.Examples.Execut
1d80 69 6e 67 20 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 ing.Configuration.Scripts.Execut
1da0 69 6e 67 20 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 ing.pre-hooks/post-hooks.Scripts
1dc0 00 46 69 6c 65 20 63 6f 6e 74 65 6e 74 73 00 46 69 6c 65 20 67 65 6e 65 72 61 74 65 64 20 77 69 .File.contents.File.generated.wi
1de0 74 68 20 70 72 65 76 69 6f 75 73 20 63 6f 6d 6d 61 6e 64 3a 20 60 60 2f 74 6d 70 2f 76 79 6f 73 th.previous.command:.``/tmp/vyos
1e00 2d 31 2e 33 2e 30 2d 63 6c 6f 75 64 2d 69 6e 69 74 2d 31 30 47 2d 71 65 6d 75 2e 71 63 6f 77 32 -1.3.0-cloud-init-10G-qemu.qcow2
1e20 60 60 00 46 69 6e 61 6c 79 2c 20 66 69 6c 65 20 2a 2a 6d 65 74 61 2d 64 61 74 61 2a 2a 20 68 61 ``.Finaly,.file.**meta-data**.ha
1e40 73 20 6e 6f 20 63 6f 6e 74 65 6e 74 2c 20 62 75 74 20 69 74 27 73 20 72 65 71 75 69 72 65 64 2e s.no.content,.but.it's.required.
1e60 00 46 6f 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 6e 64 20 65 6e 61 62 6c 69 6e 67 20 .For.configuration.and.enabling.
1e80 74 68 65 20 41 50 49 20 73 65 65 20 3a 72 65 66 3a 60 68 74 74 70 2d 61 70 69 60 00 46 6f 72 20 the.API.see.:ref:`http-api`.For.
1ea0 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2f 75 70 67 72 61 64 65 20 6d 61 6e 61 67 65 6d 65 6e 74 configuration/upgrade.management
1ec0 20 69 73 73 75 65 73 2c 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 20 6f 66 20 74 68 69 73 20 73 63 .issues,.modification.of.this.sc
1ee0 72 69 70 74 20 73 68 6f 75 6c 64 20 62 65 20 74 68 65 20 6c 61 73 74 20 6f 70 74 69 6f 6e 2e 20 ript.should.be.the.last.option..
1f00 41 6c 77 61 79 73 20 74 72 79 20 74 6f 20 66 69 6e 64 20 73 6f 6c 75 74 69 6f 6e 73 20 62 61 73 Always.try.to.find.solutions.bas
1f20 65 64 20 6f 6e 20 43 4c 49 20 63 6f 6d 6d 61 6e 64 73 20 66 69 72 73 74 2e 00 46 6f 72 20 65 78 ed.on.CLI.commands.first..For.ex
1f40 61 6d 70 6c 65 2c 20 67 65 74 20 74 68 65 20 61 64 64 72 65 73 73 65 73 20 6f 66 20 61 20 60 60 ample,.get.the.addresses.of.a.``
1f60 64 75 6d 30 60 60 20 69 6e 74 65 72 66 61 63 65 2e 00 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 73 dum0``.interface..For.example,.s
1f80 68 6f 77 20 77 68 69 63 68 20 69 6d 61 67 65 73 20 61 72 65 20 69 6e 73 74 61 6c 6c 65 64 2e 00 how.which.images.are.installed..
1fa0 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 65 20 4e 6f 43 6c For.more.information.on.the.NoCl
1fc0 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 20 60 70 61 67 65 oud.data.source,.visit.its.`page
1fe0 20 3c 68 74 74 70 73 3a 2f 2f 63 6c 6f 75 64 69 6e 69 74 2e 72 65 61 64 74 68 65 64 6f 63 73 2e .<https://cloudinit.readthedocs.
2000 69 6f 2f 65 6e 2f 6c 61 74 65 73 74 2f 72 65 66 65 72 65 6e 63 65 2f 64 61 74 61 73 6f 75 72 63 io/en/latest/reference/datasourc
2020 65 73 2f 6e 6f 63 6c 6f 75 64 2e 68 74 6d 6c 3e 60 5f 20 69 6e 20 74 68 65 20 63 6c 6f 75 64 2d es/nocloud.html>`_.in.the.cloud-
2040 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 20 init.documentation..From.cli.or.
2060 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 62 GUI,.power.on.VM,.and.after.it.b
2080 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 72 oots,.verify.configuration.Gener
20a0 61 74 65 20 71 63 6f 77 20 69 6d 61 67 65 00 48 65 72 65 20 69 73 20 61 20 73 69 6d 70 6c 65 20 ate.qcow.image.Here.is.a.simple.
20c0 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 75 example:.Here.is.an.example.clou
20e0 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 74 d-config.that.appends.configurat
2100 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 49 ion.at.the.time.of.first.boot..I
2120 53 4f 20 66 69 6c 65 73 20 73 74 6f 72 61 67 65 3a 20 60 60 6c 6f 63 61 6c 60 60 20 76 6f 6c 75 SO.files.storage:.``local``.volu
2140 6d 65 20 69 73 20 75 73 65 64 20 66 6f 72 20 60 60 2e 69 73 6f 60 60 20 66 69 6c 65 20 73 74 6f me.is.used.for.``.iso``.file.sto
2160 72 61 67 65 2e 20 49 6e 20 74 68 69 73 20 73 63 65 6e 61 72 69 6f 20 60 60 6c 6f 63 61 6c 60 60 rage..In.this.scenario.``local``
2180 20 76 6f 6c 75 6d 65 20 74 79 70 65 20 69 73 20 73 65 74 20 74 6f 20 2a 2a 64 69 72 65 63 74 6f .volume.type.is.set.to.**directo
21a0 72 79 2a 2a 2c 20 61 62 64 20 61 74 74 61 63 68 65 64 20 74 6f 20 60 60 2f 76 61 72 2f 6c 69 62 ry**,.abd.attached.to.``/var/lib
21c0 2f 76 7a 60 60 2e 00 49 66 20 63 6f 6d 6d 61 6e 64 20 65 6e 64 73 20 69 6e 20 61 20 76 61 6c 75 /vz``..If.command.ends.in.a.valu
21e0 65 2c 20 69 74 20 6d 75 73 74 20 62 65 20 69 6e 73 69 64 65 20 73 69 6e 67 6c 65 20 71 75 6f 74 e,.it.must.be.inside.single.quot
2200 65 73 2e 00 49 66 20 6e 6f 20 6e 65 74 77 6f 72 6b 69 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 es..If.no.networking.configurati
2220 6f 6e 20 69 73 20 70 72 6f 76 69 64 65 64 2c 20 74 68 65 6e 20 64 68 63 70 20 63 6c 69 65 6e 74 on.is.provided,.then.dhcp.client
2240 20 69 73 20 67 6f 69 6e 67 20 74 6f 20 62 65 20 65 6e 61 62 6c 65 64 20 6f 6e 20 66 69 72 73 74 .is.going.to.be.enabled.on.first
2260 20 69 6e 74 65 72 66 61 63 65 2e 20 42 61 72 65 20 69 6e 20 6d 69 6e 64 20 74 68 61 74 20 74 68 .interface..Bare.in.mind.that.th
2280 69 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 77 69 6c 6c 20 62 65 20 69 6e 79 65 63 74 65 is.configuration.will.be.inyecte
22a0 64 20 61 74 20 61 6e 20 4f 53 20 6c 65 76 65 6c 2c 20 73 6f 20 64 6f 6e 27 74 20 65 78 70 65 63 d.at.an.OS.level,.so.don't.expec
22c0 74 20 74 6f 20 66 69 6e 64 20 64 68 63 70 20 63 6c 69 65 6e 74 20 63 6f 6e 66 69 67 75 72 61 74 t.to.find.dhcp.client.configurat
22e0 69 6f 6e 20 6f 6e 20 76 79 6f 73 20 63 6c 69 2e 20 42 65 63 61 75 73 65 20 6f 66 20 74 68 69 73 ion.on.vyos.cli..Because.of.this
2300 20 62 65 68 61 76 69 6f 72 2c 20 69 6e 20 6e 65 78 74 20 65 78 61 6d 70 6c 65 20 6c 61 62 20 77 .behavior,.in.next.example.lab.w
2320 65 20 77 69 6c 6c 20 64 69 73 61 62 6c 65 20 64 68 63 70 2d 63 6c 69 65 6e 74 20 63 6f 6e 66 69 e.will.disable.dhcp-client.confi
2340 67 75 72 61 74 69 6f 6e 20 6f 6e 20 65 74 68 30 2e 00 49 66 20 79 6f 75 20 65 6e 63 6f 75 6e 74 guration.on.eth0..If.you.encount
2360 65 72 20 70 72 6f 62 6c 65 6d 73 2c 20 76 65 72 69 66 79 20 74 68 61 74 20 74 68 65 20 63 6c 6f er.problems,.verify.that.the.clo
2380 75 64 2d 63 6f 6e 66 69 67 20 64 6f 63 75 6d 65 6e 74 20 63 6f 6e 74 61 69 6e 73 20 76 61 6c 69 ud-config.document.contains.vali
23a0 64 20 59 41 4d 4c 2e 20 4f 6e 6c 69 6e 65 20 72 65 73 6f 75 72 63 65 73 20 73 75 63 68 20 61 73 d.YAML..Online.resources.such.as
23c0 20 68 74 74 70 73 3a 2f 2f 77 77 77 2e 79 61 6d 6c 6c 69 6e 74 2e 63 6f 6d 2f 20 70 72 6f 76 69 .https://www.yamllint.com/.provi
23e0 64 65 20 61 20 73 69 6d 70 6c 65 20 74 6f 6f 6c 20 66 6f 72 20 76 61 6c 69 64 61 74 69 6e 67 20 de.a.simple.tool.for.validating.
2400 59 41 4d 4c 2e 00 49 66 20 79 6f 75 20 6e 65 65 64 20 74 6f 20 67 61 74 68 65 72 20 69 6e 66 6f YAML..If.you.need.to.gather.info
2420 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 6c 69 6e 75 78 20 63 6f 6d 6d 61 6e 64 73 20 74 6f 20 63 rmation.from.linux.commands.to.c
2440 6f 6e 66 69 67 75 72 65 20 56 79 4f 53 2c 20 79 6f 75 20 63 61 6e 20 65 78 65 63 75 74 65 20 63 onfigure.VyOS,.you.can.execute.c
2460 6f 6d 6d 61 6e 64 73 20 61 6e 64 20 74 68 65 6e 20 63 6f 6e 66 69 67 75 72 65 20 56 79 4f 53 20 ommands.and.then.configure.VyOS.
2480 69 6e 20 74 68 65 20 73 61 6d 65 20 73 63 72 69 70 74 2e 00 49 66 20 79 6f 75 20 77 61 6e 74 20 in.the.same.script..If.you.want.
24a0 74 6f 20 73 63 72 69 70 74 20 74 68 65 20 63 6f 6e 66 69 67 73 20 69 6e 20 61 20 6c 61 6e 67 75 to.script.the.configs.in.a.langu
24c0 61 67 65 20 6f 74 68 65 72 20 74 68 61 6e 20 62 61 73 68 20 79 6f 75 20 63 61 6e 20 68 61 76 65 age.other.than.bash.you.can.have
24e0 20 79 6f 75 72 20 73 63 72 69 70 74 20 6f 75 74 70 75 74 20 63 6f 6d 6d 61 6e 64 73 20 61 6e 64 .your.script.output.commands.and
2500 20 74 68 65 6e 20 73 6f 75 72 63 65 20 74 68 65 6d 20 69 6e 20 61 20 62 61 73 68 20 73 63 72 69 .then.source.them.in.a.bash.scri
2520 70 74 2e 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 pt..In.Proxmox.server.three.file
2540 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 20 s.are.going.to.be.used.for.this.
2560 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 62 setup:.In.VyOS,.by.default,.enab
2580 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 6c 61 les.only.two.modules:.In.this.la
25a0 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
25c0 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
25e0 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
2600 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
2620 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.
2640 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
2660 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
2680 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
26a0 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 6a 65 63 74 69 e:.Initial.Configuration.Injecti
26c0 6e 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 ng.configuration.data.is.not.lim
26e0 69 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 ited.to.cloud.platforms..Users.c
2700 61 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 an.employ.the.NoCloud.data.sourc
2720 65 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 e.to.inject.user-data.and.meta-d
2740 61 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 ata.on.virtualization.platforms.
2760 73 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 such.as.VMware,.Hyper-V.and.KVM.
2780 00 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 .Install.``napalm-vyos``.module.
27a0 49 74 20 69 73 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 63 6f 6e 66 69 67 75 72 65 20 56 79 4f 53 It.is.possible.to.configure.VyOS
27c0 20 76 69 61 20 6e 65 74 6d 69 6b 6f 5f 20 70 72 6f 78 79 20 6d 6f 64 75 6c 65 2e 20 49 74 20 72 .via.netmiko_.proxy.module..It.r
27e0 65 71 75 69 72 65 73 20 61 20 6d 69 6e 69 6f 6e 20 77 69 74 68 20 69 6e 73 74 61 6c 6c 65 64 20 equires.a.minion.with.installed.
2800 70 61 63 6b 65 74 20 20 60 60 70 79 74 68 6f 6e 33 2d 6e 65 74 6d 69 6b 6f 60 60 20 6d 6f 64 75 packet..``python3-netmiko``.modu
2820 6c 65 20 77 68 6f 20 68 61 73 20 61 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 74 6f 20 56 79 4f 53 20 le.who.has.a.connection.to.VyOS.
2840 6e 6f 64 65 73 2e 20 53 61 6c 74 2d 6d 69 6e 69 6f 6e 20 68 61 76 65 20 74 6f 20 63 6f 6d 6d 75 nodes..Salt-minion.have.to.commu
2860 6e 69 63 61 74 65 20 77 69 74 68 20 73 61 6c 74 20 6d 61 73 74 65 72 00 4d 61 6a 6f 72 20 63 6c nicate.with.salt.master.Major.cl
2880 6f 75 64 20 70 72 6f 76 69 64 65 72 73 20 6f 66 66 65 72 20 61 20 6d 65 61 6e 73 20 6f 66 20 70 oud.providers.offer.a.means.of.p
28a0 72 6f 76 69 64 69 6e 67 20 75 73 65 72 2d 64 61 74 61 20 61 74 20 74 68 65 20 74 69 6d 65 20 6f roviding.user-data.at.the.time.o
28c0 66 20 69 6e 73 74 61 6e 63 65 20 6c 61 75 6e 63 68 2e 20 49 74 20 63 61 6e 20 62 65 20 70 72 6f f.instance.launch..It.can.be.pro
28e0 76 69 64 65 64 20 61 73 20 70 6c 61 69 6e 20 74 65 78 74 20 6f 72 20 61 73 20 62 61 73 65 36 34 vided.as.plain.text.or.as.base64
2900 2d 65 6e 63 6f 64 65 64 20 74 65 78 74 2c 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 63 6c 6f 75 -encoded.text,.depending.on.clou
2920 64 20 70 72 6f 76 69 64 65 72 2e 20 41 6c 73 6f 2c 20 69 74 20 63 61 6e 20 62 65 20 63 6f 6d 70 d.provider..Also,.it.can.be.comp
2940 72 65 73 73 65 64 20 75 73 69 6e 67 20 67 7a 69 70 2c 20 77 68 69 63 68 20 6d 61 6b 65 73 20 73 ressed.using.gzip,.which.makes.s
2960 65 6e 73 65 20 77 69 74 68 20 61 20 6c 6f 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 ense.with.a.long.configuration.c
2980 6f 6d 6d 61 6e 64 73 20 6c 69 73 74 2c 20 62 65 63 61 75 73 65 20 6f 66 20 74 68 65 20 68 61 72 ommands.list,.because.of.the.har
29a0 64 20 6c 69 6d 69 74 20 74 6f 20 7e 31 36 33 38 34 20 62 79 74 65 73 20 66 6f 72 20 74 68 65 20 d.limit.to.~16384.bytes.for.the.
29c0 77 68 6f 6c 65 20 75 73 65 72 2d 64 61 74 61 2e 00 4d 65 74 61 64 61 74 61 20 2d 20 4d 65 74 61 whole.user-data..Metadata.-.Meta
29e0 64 61 74 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 data.is.sourced.by.the.cloud.pla
2a00 74 66 6f 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 tform.or.hypervisor..In.some.clo
2a20 75 64 73 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 uds,.there.is.implemented.as.an.
2a40 48 54 54 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 HTTP.endpoint.at.``http://169.25
2a60 34 2e 31 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 4.169.254``..Most.important.keys
2a80 20 74 68 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 .that.needs.to.be.considered:.Na
2aa0 70 61 6c 6d 00 4e 65 74 6d 69 6b 6f 00 4e 65 74 6d 69 6b 6f 2d 70 72 6f 78 79 00 4e 65 74 77 6f palm.Netmiko.Netmiko-proxy.Netwo
2ac0 72 6b 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 2d 20 54 68 69 73 20 63 6f 6e 66 69 67 20 73 rk.configuration.-.This.config.s
2ae0 6f 75 72 63 65 20 69 6e 66 6f 72 6d 73 20 74 68 65 20 73 79 73 74 65 6d 20 61 62 6f 75 74 20 74 ource.informs.the.system.about.t
2b00 68 65 20 6e 65 74 77 6f 72 6b 20 73 65 74 74 69 6e 67 73 20 6c 69 6b 65 20 49 50 20 61 64 64 72 he.network.settings.like.IP.addr
2b20 65 73 73 65 73 2c 20 72 6f 75 74 65 73 2c 20 44 4e 53 2e 20 41 76 61 69 6c 61 62 6c 65 20 6f 6e esses,.routes,.DNS..Available.on
2b40 6c 79 20 69 6e 20 73 65 76 65 72 61 6c 20 63 6c 6f 75 64 20 61 6e 64 20 76 69 72 74 75 61 6c 69 ly.in.several.cloud.and.virtuali
2b60 7a 61 74 69 6f 6e 20 70 6c 61 74 66 6f 72 6d 73 2e 00 4e 65 74 77 6f 72 6b 69 6e 67 20 63 6f 6e zation.platforms..Networking.con
2b80 66 69 67 75 72 61 74 69 6f 6e 73 20 73 68 6f 75 6c 64 6e 27 74 20 62 65 20 70 61 73 73 65 64 20 figurations.shouldn't.be.passed.
2ba0 69 6e 20 75 73 65 72 2d 64 61 74 61 20 66 69 6c 65 2e 00 4e 6f 43 6c 6f 75 64 00 4e 6f 72 6e 69 in.user-data.file..NoCloud.Norni
2bc0 72 00 4e 6f 74 65 20 74 68 61 74 20 74 68 65 20 2f 6f 70 74 2f 76 79 61 74 74 61 2f 65 74 63 2f r.Note.that.the./opt/vyatta/etc/
2be0 63 6f 6e 66 69 67 20 69 73 20 75 73 65 64 20 69 6e 73 74 65 61 64 20 6f 66 20 74 68 65 20 2f 63 config.is.used.instead.of.the./c
2c00 6f 6e 66 69 67 2f 73 63 72 69 70 74 73 20 64 69 72 65 63 74 6f 72 79 20 72 65 66 65 72 65 6e 63 onfig/scripts.directory.referenc
2c20 65 64 20 69 6e 20 74 68 65 20 3a 72 65 66 3a 60 63 6f 6d 6d 61 6e 64 2d 73 63 72 69 70 74 69 6e ed.in.the.:ref:`command-scriptin
2c40 67 60 20 73 65 63 74 69 6f 6e 20 6f 66 20 74 68 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 20 g`.section.of.the.documentation.
2c60 62 65 63 61 75 73 65 20 74 68 65 20 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 74 20 64 69 72 65 63 because.the./config/script.direc
2c80 74 6f 72 79 20 69 73 6e 27 74 20 6d 6f 75 6e 74 65 64 20 77 68 65 6e 20 74 68 65 20 60 60 77 72 tory.isn't.mounted.when.the.``wr
2ca0 69 74 65 5f 66 69 6c 65 73 60 60 20 6d 6f 64 75 6c 65 20 65 78 65 63 75 74 65 73 2e 00 4e 6f 74 ite_files``.module.executes..Not
2cc0 65 73 20 66 6f 72 20 74 68 69 73 20 70 61 72 74 69 63 75 6c 61 72 20 65 78 61 6d 70 6c 65 2c 20 es.for.this.particular.example,.
2ce0 74 68 61 74 20 6d 61 79 20 6e 65 65 64 20 74 6f 20 62 65 20 6d 6f 64 69 66 69 65 64 20 69 6e 20 that.may.need.to.be.modified.in.
2d00 6f 74 68 65 72 20 73 65 74 75 70 73 3a 00 4e 6f 77 2c 20 74 68 61 74 20 66 69 6c 65 20 6e 65 65 other.setups:.Now,.that.file.nee
2d20 64 73 20 74 6f 20 62 65 20 63 6f 70 69 65 64 20 74 6f 20 70 72 6f 78 6d 6f 78 20 73 65 72 76 65 ds.to.be.copied.to.proxmox.serve
2d40 72 3a 00 4f 6e 20 56 79 4f 53 20 74 68 69 73 20 77 69 6c 6c 20 63 61 75 73 65 20 74 68 65 20 66 r:.On.VyOS.this.will.cause.the.f
2d60 6f 6c 6c 6f 77 69 6e 67 20 70 72 6f 62 6c 65 6d 3a 20 41 66 74 65 72 20 6d 6f 64 69 66 79 69 6e ollowing.problem:.After.modifyin
2d80 67 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 76 69 61 20 73 63 72 69 70 74 20 6c g.the.configuration.via.script.l
2da0 69 6b 65 20 74 68 69 73 20 6f 6e 63 65 2c 20 69 74 20 69 73 20 6e 6f 74 20 70 6f 73 73 69 62 6c ike.this.once,.it.is.not.possibl
2dc0 65 20 74 6f 20 6d 61 6e 75 61 6c 6c 79 20 6d 6f 64 69 66 79 20 74 68 65 20 63 6f 6e 66 69 67 20 e.to.manually.modify.the.config.
2de0 61 6e 79 6d 6f 72 65 3a 00 4f 6e 20 70 72 6f 78 6d 6f 78 20 73 65 72 76 65 72 3a 00 4f 6e 63 65 anymore:.On.proxmox.server:.Once
2e00 20 74 68 65 20 74 68 72 65 65 20 66 69 6c 65 73 20 77 65 72 65 20 63 72 65 61 74 65 64 2c 20 69 .the.three.files.were.created,.i
2e20 74 27 73 20 74 69 6d 65 20 74 6f 20 67 65 6e 65 72 61 74 65 20 74 68 65 20 60 60 73 65 65 64 2e t's.time.to.generate.the.``seed.
2e40 69 73 6f 60 60 20 69 6d 61 67 65 2c 20 77 68 69 63 68 20 6e 65 65 64 73 20 74 6f 20 62 65 20 6d iso``.image,.which.needs.to.be.m
2e60 6f 75 6e 74 65 64 20 74 6f 20 74 68 65 20 6e 65 77 20 56 4d 20 61 73 20 61 20 63 64 2e 00 4f 6e ounted.to.the.new.VM.as.a.cd..On
2e80 65 20 63 6f 6d 6d 61 6e 64 20 70 65 72 20 6c 69 6e 65 2e 00 4f 70 2d 6d 6f 64 65 00 4f 74 68 65 e.command.per.line..Op-mode.Othe
2ea0 72 20 73 63 72 69 70 74 20 6c 61 6e 67 75 61 67 65 73 00 4f 75 74 70 75 74 00 4f 75 74 70 75 74 r.script.languages.Output.Output
2ec0 20 6f 70 2d 6d 6f 64 65 00 50 6c 65 61 73 65 20 74 61 6b 65 20 61 20 6c 6f 6f 6b 20 61 74 20 74 .op-mode.Please.take.a.look.at.t
2ee0 68 65 20 43 6f 6e 74 72 69 62 75 74 69 6e 67 20 47 75 69 64 65 20 66 6f 72 20 6f 75 72 20 3a 72 he.Contributing.Guide.for.our.:r
2f00 65 66 3a 60 64 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 60 2e 00 50 6f 73 74 63 6f 6e 66 69 67 20 6f ef:`documentation`..Postconfig.o
2f20 6e 20 62 6f 6f 74 00 50 6f 77 65 72 20 6f 6e 20 56 4d 20 61 6e 64 20 76 65 72 69 66 69 63 61 74 n.boot.Power.on.VM.and.verificat
2f40 69 6f 6e 73 00 50 72 65 63 6f 6e 66 69 67 20 6f 6e 20 62 6f 6f 74 00 50 72 65 70 61 72 65 20 63 ions.Preconfig.on.boot.Prepare.c
2f60 6c 6f 75 64 2d 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 loud-init.files.Proxmox.IP.addre
2f80 73 73 3a 20 2a 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 ss:.**192.168.0.253/24**.Proxmox
2fa0 20 60 43 6c 6f 75 64 2d 69 6e 69 74 2d 53 75 70 70 6f 72 74 60 5f 2e 00 52 65 66 65 72 65 6e 63 .`Cloud-init-Support`_..Referenc
2fc0 65 73 00 52 65 6d 6f 76 65 20 64 65 66 61 75 6c 74 20 64 68 63 70 20 63 6c 69 65 6e 74 20 6f 6e es.Remove.default.dhcp.client.on
2fe0 20 66 69 72 73 74 20 69 6e 74 65 72 66 61 63 65 2c 20 61 6e 64 20 6c 6f 61 64 20 6f 74 68 65 72 .first.interface,.and.load.other
3000 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 64 75 72 69 6e 67 20 66 69 72 73 74 20 62 6f 6f 74 .configuration.during.first.boot
3020 2c 20 75 73 69 6e 67 20 63 6c 6f 75 64 2d 69 6e 69 74 2e 00 52 75 6e 20 61 6e 73 69 62 6c 65 00 ,.using.cloud-init..Run.ansible.
3040 52 75 6e 20 63 6f 6d 6d 61 6e 64 73 20 72 65 6d 6f 74 65 6c 79 00 52 75 6e 20 63 6f 6e 66 69 67 Run.commands.remotely.Run.config
3060 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 00 52 75 6e 20 6f 70 65 72 61 74 69 6f 6e 61 6c uration.commands.Run.operational
3080 20 63 6f 6d 6d 61 6e 64 73 00 53 53 48 20 69 73 20 63 6f 6e 66 69 67 75 72 65 64 20 6f 6e 20 70 .commands.SSH.is.configured.on.p
30a0 6f 72 74 20 32 32 2e 00 53 61 6c 74 00 53 61 6c 74 20 6d 61 73 74 65 72 20 63 6f 6e 66 69 67 75 ort.22..Salt.Salt.master.configu
30c0 72 61 74 69 6f 6e 3a 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 ration:.Save.a.running.configura
30e0 74 69 6f 6e 20 74 6f 20 61 20 66 69 6c 65 2e 00 53 61 76 65 20 61 20 72 75 6e 6e 69 6e 67 20 63 tion.to.a.file..Save.a.running.c
3100 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 74 6f 20 74 68 65 20 73 74 61 72 74 75 70 20 63 6f 6e 66 onfiguration.to.the.startup.conf
3120 69 67 75 72 61 74 69 6f 6e 2e 20 57 68 65 6e 20 79 6f 75 20 64 6f 6e 27 74 20 73 70 65 63 69 66 iguration..When.you.don't.specif
3140 79 20 74 68 65 20 66 69 6c 65 20 77 68 65 6e 20 73 61 76 69 6e 67 2c 20 69 74 20 73 61 76 65 73 y.the.file.when.saving,.it.saves
3160 20 74 6f 20 60 60 2f 63 6f 6e 66 69 67 2f 63 6f 6e 66 69 67 2e 62 6f 6f 74 60 60 2e 00 53 63 72 .to.``/config/config.boot``..Scr
3180 69 70 74 20 76 79 6f 73 2d 6e 61 70 61 6c 6d 2e 70 79 00 53 63 72 69 70 74 73 20 61 72 65 20 72 ipt.vyos-napalm.py.Scripts.are.r
31a0 75 6e 20 69 6e 20 61 6c 70 68 61 62 65 74 69 63 61 6c 20 6f 72 64 65 72 2e 20 54 68 65 69 72 20 un.in.alphabetical.order..Their.
31c0 6e 61 6d 65 73 20 6d 75 73 74 20 63 6f 6e 73 69 73 74 20 65 6e 74 69 72 65 6c 79 20 6f 66 20 41 names.must.consist.entirely.of.A
31e0 53 43 49 49 20 75 70 70 65 72 2d 20 61 6e 64 20 6c 6f 77 65 72 2d 63 61 73 65 20 6c 65 74 74 65 SCII.upper-.and.lower-case.lette
3200 72 73 2c 41 53 43 49 49 20 64 69 67 69 74 73 2c 20 41 53 43 49 49 20 75 6e 64 65 72 73 63 6f 72 rs,ASCII.digits,.ASCII.underscor
3220 65 73 2c 20 61 6e 64 20 41 53 43 49 49 20 6d 69 6e 75 73 2d 68 79 70 68 65 6e 73 2e 4e 6f 20 6f es,.and.ASCII.minus-hyphens.No.o
3240 74 68 65 72 20 63 68 61 72 61 63 74 65 72 73 20 61 72 65 20 61 6c 6c 6f 77 65 64 2e 00 53 6f 6d ther.characters.are.allowed..Som
3260 65 74 69 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 etimes.you.simply.wan't.to.execu
3280 74 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 te.a.bunch.of.op-mode.commands.v
32a0 69 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 ia.SSH.on.a.remote.VyOS.system..
32c0 53 74 6f 72 61 67 65 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 Storaged.used:.volume.local,.whi
32e0 63 68 20 69 73 20 6d 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 ch.is.mounted.on.directory.**/va
3300 72 2f 6c 69 62 2f 76 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 r/lib/vz**,.and.contains.all.typ
3320 65 20 6f 66 20 63 6f 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 e.of.content,.including.snippets
3340 2e 00 53 74 72 75 63 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 ..Structure.of./srv/salt:.Struct
3360 75 72 65 20 6f 66 20 66 69 6c 65 73 00 53 79 73 74 65 6d 20 44 65 66 61 75 6c 74 73 2f 46 61 6c ure.of.files.System.Defaults/Fal
3380 6c 62 61 63 6b 73 00 54 68 65 20 41 50 49 20 70 75 73 68 65 73 20 65 76 65 72 79 20 72 65 71 75 lbacks.The.API.pushes.every.requ
33a0 65 73 74 20 74 6f 20 61 20 73 65 73 73 69 6f 6e 20 61 6e 64 20 63 6f 6d 6d 69 74 20 69 74 2e 20 est.to.a.session.and.commit.it..
33c0 42 75 74 20 73 6f 6d 65 20 6f 66 20 56 79 4f 53 20 63 6f 6d 70 6f 6e 65 6e 74 73 20 6c 69 6b 65 But.some.of.VyOS.components.like
33e0 20 44 48 43 50 20 61 6e 64 20 50 50 50 6f 45 20 53 65 72 76 65 72 73 2c 20 49 50 53 65 63 2c 20 .DHCP.and.PPPoE.Servers,.IPSec,.
3400 56 58 4c 41 4e 2c 20 61 6e 64 20 6f 74 68 65 72 20 74 75 6e 6e 65 6c 73 20 72 65 71 75 69 72 65 VXLAN,.and.other.tunnels.require
3420 20 66 75 6c 6c 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 66 6f 72 20 63 6f 6d 6d 69 74 2e 20 .full.configuration.for.commit..
3440 54 68 65 20 65 6e 64 70 6f 69 6e 74 20 77 69 6c 6c 20 70 72 6f 63 65 73 73 20 6d 75 6c 74 69 70 The.endpoint.will.process.multip
3460 6c 65 20 63 6f 6d 6d 61 6e 64 73 20 77 68 65 6e 20 79 6f 75 20 70 61 73 73 20 74 68 65 6d 20 61 le.commands.when.you.pass.them.a
3480 73 20 61 20 6c 69 73 74 20 74 6f 20 74 68 65 20 60 60 64 61 74 61 60 60 20 66 69 65 6c 64 2e 00 s.a.list.to.the.``data``.field..
34a0 54 68 65 20 60 60 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 74 73 2f 76 79 6f 73 2d 70 6f 73 74 63 The.``/config/scripts/vyos-postc
34c0 6f 6e 66 69 67 2d 62 6f 6f 74 75 70 2e 73 63 72 69 70 74 60 60 20 73 63 72 69 70 74 20 69 73 20 onfig-bootup.script``.script.is.
34e0 63 61 6c 6c 65 64 20 6f 6e 20 62 6f 6f 74 20 61 66 74 65 72 20 74 68 65 20 56 79 4f 53 20 63 6f called.on.boot.after.the.VyOS.co
3500 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 73 20 66 75 6c 6c 79 20 61 70 70 6c 69 65 64 2e 00 54 68 nfiguration.is.fully.applied..Th
3520 65 20 60 60 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 e.``/config/scripts/vyos-preconf
3540 69 67 2d 62 6f 6f 74 75 70 2e 73 63 72 69 70 74 60 60 20 73 63 72 69 70 74 20 69 73 20 63 61 6c ig-bootup.script``.script.is.cal
3560 6c 65 64 20 6f 6e 20 62 6f 6f 74 20 62 65 66 6f 72 65 20 74 68 65 20 56 79 4f 53 20 63 6f 6e 66 led.on.boot.before.the.VyOS.conf
3580 69 67 75 72 61 74 69 6f 6e 20 64 75 72 69 6e 67 20 62 6f 6f 74 20 70 72 6f 63 65 73 73 2e 00 54 iguration.during.boot.process..T
35a0 68 65 20 60 60 2f 73 68 6f 77 60 60 20 65 6e 64 70 6f 69 6e 74 20 69 73 20 74 6f 20 73 68 6f 77 he.``/show``.endpoint.is.to.show
35c0 20 65 76 65 72 79 74 68 69 6e 67 20 69 6e 20 74 68 65 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 6d .everything.in.the.operational.m
35e0 6f 64 65 2e 00 54 68 65 20 60 60 67 65 6e 65 72 61 74 65 60 60 20 65 6e 64 70 6f 69 6e 74 20 72 ode..The.``generate``.endpoint.r
3600 75 6e 20 61 20 60 60 67 65 6e 65 72 61 74 65 60 60 20 63 6f 6d 6d 61 6e 64 2e 00 54 68 65 20 60 un.a.``generate``.command..The.`
3620 60 72 65 73 65 74 60 60 20 65 6e 64 70 6f 69 6e 74 20 72 75 6e 20 61 20 60 60 72 65 73 65 74 60 `reset``.endpoint.run.a.``reset`
3640 60 20 63 6f 6d 6d 61 6e 64 2e 00 54 68 65 20 63 6f 6d 6d 61 6e 64 73 20 6c 69 73 74 20 70 72 6f `.command..The.commands.list.pro
3660 64 75 63 65 64 20 62 79 20 74 68 65 20 60 60 73 68 6f 77 20 63 6f 6e 66 69 67 75 72 61 74 69 6f duced.by.the.``show.configuratio
3680 6e 20 63 6f 6d 6d 61 6e 64 73 60 60 20 63 6f 6d 6d 61 6e 64 20 6f 6e 20 61 20 56 79 4f 53 20 72 n.commands``.command.on.a.VyOS.r
36a0 6f 75 74 65 72 20 73 68 6f 75 6c 64 20 63 6f 6d 70 6c 79 20 77 69 74 68 20 61 6c 6c 20 74 68 65 outer.should.comply.with.all.the
36c0 20 72 65 71 75 69 72 65 6d 65 6e 74 73 2c 20 73 6f 20 69 74 20 69 73 20 65 61 73 79 20 74 6f 20 .requirements,.so.it.is.easy.to.
36e0 67 65 74 20 61 20 70 72 6f 70 65 72 20 63 6f 6d 6d 61 6e 64 73 20 6c 69 73 74 20 62 79 20 63 6f get.a.proper.commands.list.by.co
3700 70 79 69 6e 67 20 69 74 20 66 72 6f 6d 20 61 6e 6f 74 68 65 72 20 72 6f 75 74 65 72 2e 00 54 68 pying.it.from.another.router..Th
3720 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 73 70 65 63 69 66 69 65 64 20 69 6e 20 74 68 65 e.configuration.specified.in.the
3740 20 63 6c 6f 75 64 2d 63 6f 6e 66 69 67 20 64 6f 63 75 6d 65 6e 74 20 6f 76 65 72 77 72 69 74 65 .cloud-config.document.overwrite
3760 73 20 64 65 66 61 75 6c 74 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 76 61 6c 75 65 73 20 61 s.default.configuration.values.a
3780 6e 64 20 76 61 6c 75 65 73 20 63 6f 6e 66 69 67 75 72 65 64 20 76 69 61 20 4d 65 74 61 64 61 74 nd.values.configured.via.Metadat
37a0 61 2e 00 54 68 65 20 64 65 66 61 75 6c 74 20 64 69 72 65 63 74 6f 72 69 65 73 20 77 68 65 72 65 a..The.default.directories.where
37c0 20 79 6f 75 72 20 63 75 73 74 6f 6d 20 53 63 72 69 70 74 73 20 73 68 6f 75 6c 64 20 62 65 20 6c .your.custom.Scripts.should.be.l
37e0 6f 63 61 74 65 64 20 61 72 65 3a 00 54 68 65 20 64 65 66 61 75 6c 74 20 66 69 6c 65 20 6c 6f 6f ocated.are:.The.default.file.loo
3800 6b 73 20 6c 69 6b 65 20 74 68 69 73 3a 00 54 68 65 20 65 61 73 69 65 73 74 20 77 61 79 20 74 6f ks.like.this:.The.easiest.way.to
3820 20 63 6f 6e 66 69 67 75 72 65 20 74 68 65 20 73 79 73 74 65 6d 20 76 69 61 20 75 73 65 72 2d 64 .configure.the.system.via.user-d
3840 61 74 61 20 69 73 20 74 68 65 20 43 6c 6f 75 64 2d 63 6f 6e 66 69 67 20 73 79 6e 74 61 78 20 64 ata.is.the.Cloud-config.syntax.d
3860 65 73 63 72 69 62 65 64 20 62 65 6c 6f 77 2e 00 54 68 65 20 65 6e 64 70 6f 69 6e 74 20 60 60 2f escribed.below..The.endpoint.``/
3880 63 6f 6e 66 69 67 2d 66 69 6c 65 60 60 20 69 73 20 74 6f 20 73 61 76 65 20 6f 72 20 6c 6f 61 64 config-file``.is.to.save.or.load
38a0 20 61 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 00 54 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 .a.configuration..The.following.
38c0 65 78 61 6d 70 6c 65 20 73 65 74 73 20 74 68 65 20 68 6f 73 74 6e 61 6d 65 20 62 61 73 65 64 20 example.sets.the.hostname.based.
38e0 6f 6e 20 74 68 65 20 69 6e 73 74 61 6e 63 65 20 69 64 65 6e 74 69 66 69 65 72 20 6f 62 74 61 69 on.the.instance.identifier.obtai
3900 6e 65 64 20 66 72 6f 6d 20 74 68 65 20 45 43 32 20 6d 65 74 61 64 61 74 61 20 73 65 72 76 69 63 ned.from.the.EC2.metadata.servic
3920 65 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 68 6f 77 73 20 68 e..The.following.example.shows.h
3940 6f 77 20 74 6f 20 65 78 65 63 75 74 65 20 63 6f 6d 6d 61 6e 64 73 20 61 66 74 65 72 20 74 68 65 ow.to.execute.commands.after.the
3960 20 69 6e 69 74 69 61 6c 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 00 54 68 65 20 6b 65 79 20 .initial.configuration..The.key.
3980 75 73 65 64 20 74 6f 20 64 65 73 69 67 6e 61 74 65 20 61 20 56 79 4f 53 20 63 6f 6e 66 69 67 75 used.to.designate.a.VyOS.configu
39a0 72 61 74 69 6f 6e 20 69 73 20 60 60 76 79 6f 73 5f 63 6f 6e 66 69 67 5f 63 6f 6d 6d 61 6e 64 73 ration.is.``vyos_config_commands
39c0 60 60 2e 20 57 68 61 74 20 66 6f 6c 6c 6f 77 73 20 69 73 20 56 79 4f 53 20 63 6f 6e 66 69 67 75 ``..What.follows.is.VyOS.configu
39e0 72 61 74 69 6f 6e 20 75 73 69 6e 67 20 74 68 65 20 22 73 65 74 2d 73 74 79 6c 65 22 20 73 79 6e ration.using.the."set-style".syn
3a00 74 61 78 2e 20 42 6f 74 68 20 22 73 65 74 22 20 61 6e 64 20 22 64 65 6c 65 74 65 22 20 63 6f 6d tax..Both."set".and."delete".com
3a20 6d 61 6e 64 73 20 61 72 65 20 73 75 70 70 6f 72 74 65 64 2e 00 54 68 65 20 73 65 65 64 2e 69 73 mands.are.supported..The.seed.is
3a40 6f 20 66 69 6c 65 20 63 61 6e 20 62 65 20 61 74 74 61 63 68 65 64 20 74 6f 20 74 68 65 20 76 69 o.file.can.be.attached.to.the.vi
3a60 72 74 75 61 6c 20 6d 61 63 68 69 6e 65 2e 20 41 73 20 61 6e 20 65 78 61 6d 70 6c 65 2c 20 74 68 rtual.machine..As.an.example,.th
3a80 65 20 6d 65 74 68 6f 64 20 77 69 74 68 20 4b 56 4d 20 74 6f 20 61 74 74 61 63 68 20 74 68 65 20 e.method.with.KVM.to.attach.the.
3aa0 49 53 4f 20 61 73 20 61 20 43 44 20 64 72 69 76 65 20 66 6f 6c 6c 6f 77 73 2e 00 54 68 65 72 65 ISO.as.a.CD.drive.follows..There
3ac0 20 69 73 20 61 20 70 69 74 66 61 6c 6c 20 77 68 65 6e 20 77 6f 72 6b 69 6e 67 20 77 69 74 68 20 .is.a.pitfall.when.working.with.
3ae0 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 73 63 72 69 70 74 73 2e 20 49 74 20 69 73 20 74 65 6d configuration.scripts..It.is.tem
3b00 70 74 69 6e 67 20 74 6f 20 63 61 6c 6c 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 73 63 72 69 pting.to.call.configuration.scri
3b20 70 74 73 20 77 69 74 68 20 22 73 75 64 6f 22 20 28 69 2e 65 2e 2c 20 74 65 6d 70 6f 72 61 72 79 pts.with."sudo".(i.e.,.temporary
3b40 20 72 6f 6f 74 20 70 65 72 6d 69 73 73 69 6f 6e 73 29 2c 20 62 65 63 61 75 73 65 20 74 68 61 74 .root.permissions),.because.that
3b60 27 73 20 74 68 65 20 63 6f 6d 6d 6f 6e 20 77 61 79 20 6f 6e 20 6d 6f 73 74 20 4c 69 6e 75 78 20 's.the.common.way.on.most.Linux.
3b80 70 6c 61 74 66 6f 72 6d 73 20 74 6f 20 63 61 6c 6c 20 73 79 73 74 65 6d 20 63 6f 6d 6d 61 6e 64 platforms.to.call.system.command
3ba0 73 2e 00 54 68 65 73 65 20 61 72 65 20 74 68 65 20 56 79 4f 53 20 64 65 66 61 75 6c 74 73 20 61 s..These.are.the.VyOS.defaults.a
3bc0 6e 64 20 66 61 6c 6c 62 61 63 6b 73 2e 00 54 68 69 73 20 73 65 63 74 69 6f 6e 20 6e 65 65 64 73 nd.fallbacks..This.section.needs
3be0 20 69 6d 70 72 6f 76 65 6d 65 6e 74 73 2c 20 65 78 61 6d 70 6c 65 73 20 61 6e 64 20 65 78 70 6c .improvements,.examples.and.expl
3c00 61 6e 61 74 69 6f 6e 73 2e 00 54 68 69 73 20 77 69 6c 6c 20 72 65 73 75 6c 74 20 69 6e 20 74 68 anations..This.will.result.in.th
3c20 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 65 72 72 6f 72 20 6d 65 73 73 61 67 65 3a 20 60 60 53 65 74 e.following.error.message:.``Set
3c40 20 66 61 69 6c 65 64 60 60 20 49 66 20 74 68 69 73 20 68 61 70 70 65 6e 73 2c 20 61 20 72 65 62 .failed``.If.this.happens,.a.reb
3c60 6f 6f 74 20 69 73 20 72 65 71 75 69 72 65 64 20 74 6f 20 62 65 20 61 62 6c 65 20 74 6f 20 65 64 oot.is.required.to.be.able.to.ed
3c80 69 74 20 74 68 65 20 63 6f 6e 66 69 67 20 6d 61 6e 75 61 6c 6c 79 20 61 67 61 69 6e 2e 00 54 6f it.the.config.manually.again..To
3ca0 20 4c 6f 61 64 20 61 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 66 69 6c 65 2e 00 54 6f 20 61 .Load.a.configuration.file..To.a
3cc0 64 64 20 6f 72 20 64 65 6c 65 74 65 20 61 6e 20 69 6d 61 67 65 2c 20 75 73 65 20 74 68 65 20 60 dd.or.delete.an.image,.use.the.`
3ce0 60 2f 69 6d 61 67 65 60 60 20 65 6e 64 70 6f 69 6e 74 2e 00 54 6f 20 61 76 6f 69 64 20 74 68 65 `/image``.endpoint..To.avoid.the
3d00 73 65 20 70 72 6f 62 6c 65 6d 73 2c 20 74 68 65 20 70 72 6f 70 65 72 20 77 61 79 20 69 73 20 74 se.problems,.the.proper.way.is.t
3d20 6f 20 63 61 6c 6c 20 61 20 73 63 72 69 70 74 20 77 69 74 68 20 74 68 65 20 60 60 76 79 61 74 74 o.call.a.script.with.the.``vyatt
3d40 61 63 66 67 60 60 20 67 72 6f 75 70 2c 20 65 2e 67 2e 2c 20 62 79 20 75 73 69 6e 67 20 74 68 65 acfg``.group,.e.g.,.by.using.the
3d60 20 60 60 73 67 60 60 20 28 73 77 69 74 63 68 20 67 72 6f 75 70 29 20 63 6f 6d 6d 61 6e 64 3a 00 .``sg``.(switch.group).command:.
3d80 54 6f 20 67 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 To.get.the.whole.configuration,.
3da0 70 61 73 73 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 pass.an.empty.list.to.the.``path
3dc0 60 60 20 66 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 ``.field.To.include.VyOS.specifi
3de0 63 20 66 75 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 c.functions.and.aliases.you.need
3e00 20 74 6f 20 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 .to.``source./opt/vyatta/etc/fun
3e20 63 74 69 6f 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 ctions/script-template``.files.a
3e40 74 20 74 68 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 6d 61 6b t.the.top.of.your.script..To.mak
3e60 65 20 73 75 72 65 20 74 68 61 74 20 61 20 73 63 72 69 70 74 20 69 73 20 6e 6f 74 20 61 63 63 69 e.sure.that.a.script.is.not.acci
3e80 64 65 6e 74 61 6c 6c 79 20 63 61 6c 6c 65 64 20 77 69 74 68 6f 75 74 20 74 68 65 20 60 60 76 79 dentally.called.without.the.``vy
3ea0 61 74 74 61 63 66 67 60 60 20 67 72 6f 75 70 2c 20 74 68 65 20 73 63 72 69 70 74 20 63 61 6e 20 attacfg``.group,.the.script.can.
3ec0 62 65 20 73 61 66 65 67 75 61 72 64 65 64 20 6c 69 6b 65 20 74 68 69 73 3a 00 54 6f 20 6f 6e 6c be.safeguarded.like.this:.To.onl
3ee0 79 20 67 65 74 20 61 20 70 61 72 74 20 6f 66 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f y.get.a.part.of.the.configuratio
3f00 6e 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 20 60 60 73 79 73 74 65 6d 20 73 79 73 6c 6f 67 60 60 n,.for.example.``system.syslog``
3f20 2e 00 54 72 6f 75 62 6c 65 73 68 6f 6f 74 69 6e 67 00 55 6e 6c 69 6b 65 20 61 20 6e 6f 72 6d 61 ..Troubleshooting.Unlike.a.norma
3f40 6c 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 73 65 73 73 69 6f 6e 2c 20 61 6c 6c 20 6f 70 65 l.configuration.session,.all.ope
3f60 72 61 74 69 6f 6e 61 6c 20 63 6f 6d 6d 61 6e 64 73 20 6d 75 73 74 20 62 65 20 70 72 65 70 65 6e rational.commands.must.be.prepen
3f80 64 65 64 20 77 69 74 68 20 60 60 72 75 6e 60 60 2c 20 65 76 65 6e 20 69 66 20 79 6f 75 20 68 61 ded.with.``run``,.even.if.you.ha
3fa0 76 65 6e 27 74 20 63 72 65 61 74 65 64 20 61 20 73 65 73 73 69 6f 6e 20 77 69 74 68 20 63 6f 6e ven't.created.a.session.with.con
3fc0 66 69 67 75 72 65 2e 00 55 73 65 72 2d 64 61 74 61 00 55 73 65 72 2d 64 61 74 61 20 2d 20 55 73 figure..User-data.User-data.-.Us
3fe0 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 72 er-data.is.specified.by.the.user
4000 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 20 ..This.config.source.offers.the.
4020 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 67 ability.to.insert.any.CLI.config
4040 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 67 uration.commands.into.the.config
4060 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 56 uration.before.the.first.boot..V
4080 4d 20 49 44 3a 20 69 6e 20 74 68 69 73 20 65 78 61 6d 70 6c 65 2c 20 56 4d 20 49 44 20 75 73 65 M.ID:.in.this.example,.VM.ID.use
40a0 64 20 69 73 20 35 35 35 2e 00 56 4d 20 52 65 73 6f 75 72 63 65 73 3a 20 74 68 65 73 65 20 70 61 d.is.555..VM.Resources:.these.pa
40c0 72 61 6d 65 74 65 72 73 20 63 61 6e 20 62 65 20 6d 6f 64 69 66 69 65 64 20 61 73 20 6e 65 65 64 rameters.can.be.modified.as.need
40e0 65 64 2e 00 56 4d 20 53 74 6f 72 61 67 65 3a 20 60 60 6c 6f 63 61 6c 60 60 20 76 6f 6c 75 6d 65 ed..VM.Storage:.``local``.volume
4100 20 69 73 20 75 73 65 64 2e 00 56 79 4f 53 20 41 50 49 00 56 79 4f 53 20 41 75 74 6f 6d 61 74 69 .is.used..VyOS.API.VyOS.Automati
4120 6f 6e 00 56 79 4f 53 20 60 63 6c 6f 75 64 2d 69 6e 69 74 2d 64 6f 63 73 60 5f 2e 00 56 79 4f 53 on.VyOS.`cloud-init-docs`_..VyOS
4140 20 63 6c 6f 75 64 2d 69 6e 69 74 00 56 79 4f 53 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 .cloud-init.VyOS.configuration.c
4160 6f 6d 6d 61 6e 64 73 20 61 72 65 20 64 65 66 69 6e 65 64 20 69 6e 20 75 73 65 72 2d 64 61 74 61 ommands.are.defined.in.user-data
4180 20 66 69 6c 65 2e 00 56 79 4f 53 20 68 61 73 20 74 68 65 20 61 62 69 6c 69 74 79 20 74 6f 20 72 .file..VyOS.has.the.ability.to.r
41a0 75 6e 20 63 75 73 74 6f 6d 20 20 73 63 72 69 70 74 73 20 62 65 66 6f 72 65 20 61 6e 64 20 61 66 un.custom..scripts.before.and.af
41c0 74 65 72 20 65 61 63 68 20 63 6f 6d 6d 69 74 00 56 79 4f 53 20 73 75 70 70 6f 72 74 20 74 68 72 ter.each.commit.VyOS.support.thr
41e0 65 65 20 74 79 70 65 73 20 6f 66 20 63 6f 6e 66 69 67 20 73 6f 75 72 63 65 73 2e 00 56 79 4f 53 ee.types.of.config.sources..VyOS
4200 20 73 75 70 70 6f 72 74 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 76 69 61 20 61 6e 73 69 .supports.configuration.via.ansi
4220 62 6c 65 2e 20 4e 65 65 64 20 74 6f 20 69 6e 73 74 61 6c 6c 20 60 60 61 6e 73 69 62 6c 65 60 60 ble..Need.to.install.``ansible``
4240 20 61 6e 64 20 60 60 70 79 74 68 6f 6e 33 2d 70 61 72 61 6d 69 6b 6f 60 60 20 6d 6f 64 75 6c 65 .and.``python3-paramiko``.module
4260 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 76 69 61 .VyOS.supports.configuration.via
4280 20 6e 65 74 6d 69 6b 6f 5f 2e 20 49 74 20 72 65 71 75 69 72 65 73 20 74 6f 20 69 6e 73 74 61 6c .netmiko_..It.requires.to.instal
42a0 6c 20 60 60 70 79 74 68 6f 6e 33 2d 6e 65 74 6d 69 6b 6f 60 60 20 6d 6f 64 75 6c 65 2e 00 56 79 l.``python3-netmiko``.module..Vy
42c0 4f 53 20 73 75 70 70 6f 72 74 73 20 65 78 65 63 75 74 69 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 OS.supports.executing.configurat
42e0 69 6f 6e 20 61 6e 64 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 63 6f 6d 6d 61 6e 64 73 20 6e 6f 6e ion.and.operational.commands.non
4300 2d 69 6e 74 65 72 61 63 74 69 76 65 6c 79 20 66 72 6f 6d 20 73 68 65 6c 6c 20 73 63 72 69 70 74 -interactively.from.shell.script
4320 73 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 6f 70 2d 6d 6f 64 65 20 61 6e 64 20 63 6f 6e s..VyOS.supports.op-mode.and.con
4340 66 69 67 75 72 61 74 69 6f 6e 20 76 69 61 20 73 61 6c 74 5f 2e 00 56 79 4f 53 20 73 75 70 70 6f figuration.via.salt_..VyOS.suppo
4360 72 74 73 20 73 6f 6d 65 20 6e 61 70 61 6c 6d 5f 20 66 75 6e 63 74 69 6f 6e 73 20 66 6f 72 20 63 rts.some.napalm_.functions.for.c
4380 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 6e 64 20 6f 70 2d 6d 6f 64 65 2e 20 49 74 20 72 65 71 onfiguration.and.op-mode..It.req
43a0 75 69 72 65 73 20 6d 6f 72 65 20 74 65 73 74 73 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 uires.more.tests..VyOS.supports.
43c0 74 68 65 20 65 78 65 63 75 74 69 6f 6e 20 6f 66 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 63 6f 6d the.execution.of.operational.com
43e0 6d 61 6e 64 73 20 61 6e 64 20 6c 69 6e 75 78 20 63 6f 6d 6d 61 6e 64 73 20 61 74 20 69 6e 69 74 mands.and.linux.commands.at.init
4400 69 61 6c 20 62 6f 6f 74 2e 20 54 68 69 73 20 69 73 20 61 63 63 6f 6d 70 6c 69 73 68 65 64 20 75 ial.boot..This.is.accomplished.u
4420 73 69 6e 67 20 60 60 77 72 69 74 65 5f 66 69 6c 65 73 60 60 20 74 6f 20 63 65 72 74 61 69 6e 20 sing.``write_files``.to.certain.
4440 66 69 6c 65 73 20 69 6e 20 74 68 65 20 2f 6f 70 74 2f 76 79 61 74 74 61 2f 65 74 63 2f 63 6f 6e files.in.the./opt/vyatta/etc/con
4460 66 69 67 2f 73 63 72 69 70 74 73 20 64 69 72 65 63 74 6f 72 79 2e 20 43 6f 6d 6d 61 6e 64 73 20 fig/scripts.directory..Commands.
4480 73 70 65 63 69 66 69 65 64 20 69 6e 20 6f 70 74 2f 76 79 61 74 74 61 2f 65 74 63 2f 63 6f 6e 66 specified.in.opt/vyatta/etc/conf
44a0 69 67 2f 73 63 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 ig/scripts/vyos-preconfig-bootup
44c0 2e 73 63 72 69 70 74 20 61 72 65 20 65 78 65 63 75 74 65 64 20 70 72 69 6f 72 20 74 6f 20 63 6f .script.are.executed.prior.to.co
44e0 6e 66 69 67 75 72 61 74 69 6f 6e 2e 20 54 68 65 20 2f 6f 70 74 2f 76 79 61 74 74 61 2f 65 74 63 nfiguration..The./opt/vyatta/etc
4500 2f 63 6f 6e 66 69 67 2f 73 63 72 69 70 74 73 2f 76 79 6f 73 2d 70 6f 73 74 63 6f 6e 66 69 67 2d /config/scripts/vyos-postconfig-
4520 62 6f 6f 74 75 70 2e 73 63 72 69 70 74 20 66 69 6c 65 20 63 6f 6e 74 61 69 6e 73 20 63 6f 6d 6d bootup.script.file.contains.comm
4540 61 6e 64 73 20 74 6f 20 62 65 20 65 78 65 63 75 74 65 64 20 61 66 74 65 72 20 63 6f 6e 66 69 67 ands.to.be.executed.after.config
4560 75 72 61 74 69 6f 6e 2e 20 49 6e 20 62 6f 74 68 20 63 61 73 65 73 2c 20 63 6f 6d 6d 61 6e 64 73 uration..In.both.cases,.commands
4580 20 61 72 65 20 65 78 65 63 75 74 65 64 20 61 73 20 74 68 65 20 72 6f 6f 74 20 75 73 65 72 2e 00 .are.executed.as.the.root.user..
45a0 57 65 20 6e 65 65 64 20 32 20 66 69 6c 65 73 2c 20 63 6f 6d 6d 61 6e 64 73 2e 63 6f 6e 66 20 61 We.need.2.files,.commands.conf.a
45c0 6e 64 20 73 63 72 69 70 74 20 69 74 73 65 6c 66 2e 00 57 68 69 6c 65 20 6f 74 68 65 72 20 6d 65 nd.script.itself..While.other.me
45e0 74 68 6f 64 73 20 65 78 69 73 74 2c 20 74 68 65 20 6d 6f 73 74 20 73 74 72 61 69 67 68 74 66 6f thods.exist,.the.most.straightfo
4600 72 77 61 72 64 20 6d 65 74 68 6f 64 20 66 6f 72 20 75 73 69 6e 67 20 74 68 65 20 4e 6f 43 6c 6f rward.method.for.using.the.NoClo
4620 75 64 20 64 61 74 61 20 73 6f 75 72 63 65 20 69 73 20 63 72 65 61 74 69 6e 67 20 61 20 73 65 65 ud.data.source.is.creating.a.see
4640 64 20 49 53 4f 20 61 6e 64 20 61 74 74 61 63 68 69 6e 67 20 69 74 20 74 6f 20 74 68 65 20 76 69 d.ISO.and.attaching.it.to.the.vi
4660 72 74 75 61 6c 20 6d 61 63 68 69 6e 65 20 61 73 20 61 20 43 44 20 64 72 69 76 65 2e 20 54 68 65 rtual.machine.as.a.CD.drive..The
4680 20 76 6f 6c 75 6d 65 20 6d 75 73 74 20 62 65 20 66 6f 72 6d 61 74 74 65 64 20 61 73 20 61 20 76 .volume.must.be.formatted.as.a.v
46a0 66 61 74 20 6f 72 20 49 53 4f 20 39 36 36 30 20 66 69 6c 65 20 73 79 73 74 65 6d 20 77 69 74 68 fat.or.ISO.9660.file.system.with
46c0 20 74 68 65 20 6c 61 62 65 6c 20 22 63 69 64 61 74 61 22 20 6f 72 20 22 43 49 44 41 54 41 22 2e .the.label."cidata".or."CIDATA".
46e0 00 57 69 6c 6c 20 72 65 74 75 72 6e 3a 00 57 69 74 68 20 74 68 65 20 60 60 72 65 74 72 69 65 76 .Will.return:.With.the.``retriev
4700 65 60 60 20 65 6e 64 70 6f 69 6e 74 20 79 6f 75 20 67 65 74 20 70 61 72 74 73 20 6f 72 20 74 68 e``.endpoint.you.get.parts.or.th
4720 65 20 77 68 6f 6c 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 00 57 69 74 68 6f 75 74 20 70 e.whole.configuration..Without.p
4740 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 6f 6e roxy.it.requires.VyOS.minion.con
4760 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 20 64 figuration.and.support.op-mode.d
4780 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 20 56 ata:.Without.proxy.it.requires.V
47a0 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 75 70 yOS.minion.configuration.and.sup
47c0 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 70 61 73 73 ports.op-mode.data:.You.can.pass
47e0 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 60 60 63 6f 6d 6d .a.``set``,.``delete``.or.``comm
4800 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 6e 66 69 67 75 72 ent``.command.to.the.``/configur
4820 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 20 73 69 6e 67 6c e``.endpoint..``delete``.a.singl
4840 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 20 70 72 65 76 69 e.command.``seed.iso``.was.previ
4860 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 20 60 60 2f 74 6d ously.created.in.directory.``/tm
4880 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 76 65 20 69 74 20 p/``..It's.necessary.to.move.it.
48a0 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 69 73 6f 60 60 00 to.``/var/lib/vz/template/iso``.
48c0 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 60 76 79 6f 73 5f ``set``.a.single.command.``vyos_
48e0 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 63 65 70 74 73 20 userdata``.-.the.module.accepts.
4900 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 6e 20 63 6f 6d 6d a.list.of.CLI.configuration.comm
4920 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 6d 6d 61 6e 64 73 ands.in.a.``vyos_config_commands
4940 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 20 65 61 73 79 20 ``.section,.which.gives.an.easy.
4960 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 6d 20 64 75 72 69 way.to.configure.the.system.duri
4980 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 76 79 6f 73 60 60 ng.deployment..``vyos``/``vyos``
49a0 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 73 70 65 63 69 66 .credentials.if.no.others.specif
49c0 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 65 5f 66 69 6c 65 ied.by.data.source..``write_file
49e0 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 6f 20 69 6e 73 65 s``.-.this.module.allows.to.inse
4a00 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 73 79 73 74 65 6d rt.any.files.into.the.filesystem
4a20 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 72 20 65 78 61 6d .before.the.first.boot,.for.exam
4a40 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 69 6f 6e 20 6b 65 ple,.pre-generated.encryption.ke
4a60 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 61 20 77 68 6f 6c ys,.certificates,.or.even.a.whol
4a80 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 65 20 66 6f 72 6d e.``config.boot``.file..The.form
4aa0 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 75 64 69 6e 69 74 at.is.described.in.the.cloudinit
4ac0 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 2d 77 72 69 74 65 .documentation.`Cloud-init-write
4ae0 5f 66 69 6c 65 73 60 5f 2e 00 61 64 64 20 61 6e 20 69 6d 61 67 65 00 61 6e 73 69 62 6c 65 2e 63 _files`_..add.an.image.ansible.c
4b00 66 67 00 63 6c 6f 75 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 fg.cloud-config.file.format.clou
4b20 64 2d 69 6e 69 74 20 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 d-init.logs.to./var/log/cloud-in
4b40 69 74 2e 6c 6f 67 2e 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 it.log..This.file.can.be.helpful
4b60 20 69 6e 20 64 65 74 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 .in.determining.why.the.configur
4b80 61 74 69 6f 6e 20 76 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 ation.varies.from.what.you.expec
4ba0 74 2e 20 59 6f 75 20 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 t..You.can.fetch.the.most.import
4bc0 61 6e 74 20 64 61 74 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 ant.data.filtering.output.for.``
4be0 76 79 6f 73 60 60 20 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 vyos``.keyword:.commands.txt.del
4c00 65 74 65 20 61 6e 20 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 ete.an.image,.for.example.``1.3-
4c20 72 6f 6c 6c 69 6e 67 2d 32 30 32 30 30 36 30 37 30 31 31 37 60 60 00 68 6f 73 74 73 00 69 64 5f rolling-202006070117``.hosts.id_
4c40 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 63 6c 61 72 65 rsa_docker.pub..Needs.to.declare
4c60 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 66 20 79 6f 75 .only.public.key.exactly..if.you
4c80 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 75 6c 74 69 2d .just.want.the.Value.of.a.multi-
4ca0 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 72 6e 56 61 6c valued.node,.use.the.``returnVal
4cc0 75 65 73 60 60 20 6f 70 65 72 61 74 69 6f 6e 2e 00 6d 61 69 6e 2e 79 6d 6c 00 72 31 31 2d 70 72 ues``.operation..main.yml.r11-pr
4ce0 6f 78 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 oxy.sls.Includes.parameters.for.
4d00 63 6f 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 connecting.to.salt-proxy.minion.
4d20 73 74 61 72 74 75 70 20 73 63 72 69 70 74 73 00 74 6f 70 2e 73 6c 73 00 4d 49 4d 45 2d 56 65 72 startup.scripts.top.sls.MIME-Ver
4d40 73 69 6f 6e 3a 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 sion:.1.0.Content-Type:.text/pla
4d60 69 6e 3b 20 63 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 in;.charset=UTF-8.Content-Transf
4d80 65 72 2d 45 6e 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 er-Encoding:.8bit.X-Generator:.L
4da0 6f 63 61 6c 61 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 ocalazy.(https://localazy.com).P
4dc0 72 6f 6a 65 63 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 6a 61 roject-Id-Version:..Language:.ja
4de0 0a 50 6c 75 72 61 6c 2d 46 6f 72 6d 73 3a 20 6e 70 6c 75 72 61 6c 73 3d 31 3b 20 70 6c 75 72 61 .Plural-Forms:.nplurals=1;.plura
4e00 6c 3d 30 3b 0a 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 l=0;..**NOTE**:.be.carefull.whil
4e20 65 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 e.copying.and.pasting.previous.c
4e40 6f 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 ommands..Doble.quotes.may.need.t
4e60 6f 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 o.be.corrected..**meta-data**:.e
4e80 6d 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 mpty.file.(required)..**network-
4ea0 63 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 config**.file.only.has.configura
4ec0 74 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 tion.that.disables.the.automatic
4ee0 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 61 63 65 2e .dhcp.client.on.first.interface.
4f00 00 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 .**network-config**:.file.that.w
4f20 69 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 ill.indicate.to.avoid.dhcp.clien
4f40 74 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 t.on.first.interface..**user-dat
4f60 61 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 a**.file.must.start.with.``#clou
4f80 64 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 d-config``.and.contains.vyos-com
4fa0 6d 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 mands..For.example:.**user-data*
4fc0 2a 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 *:.includes.vyos-commands../conf
4fe0 69 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 ig-file./configure./generate./im
5000 61 67 65 00 2f 72 65 73 65 74 00 2f 72 65 74 72 69 65 76 65 00 2f 73 68 6f 77 00 41 20 56 79 4f age./reset./retrieve./show.A.VyO
5020 53 20 71 63 6f 77 20 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 S.qcow.image.with.cloud-init.opt
5040 69 6f 6e 73 20 69 73 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 ions.is.needed..This.can.be.obta
5060 69 6e 65 64 20 75 73 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 ined.using.`vyos-vm-images`_.rep
5080 6f 2e 20 41 66 74 65 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 o..After.clonning.the.repo,.edit
50a0 20 74 68 65 20 66 69 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 .the.file.**qemu.yml**.and.comme
50c0 6e 74 20 74 68 65 20 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 nt.the.**download-iso**.role..A.
50e0 63 6c 6f 75 64 2d 63 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 cloud-config.document.is.written
5100 20 69 6e 20 59 41 4d 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 .in.YAML..The.file.must.begin.wi
5120 74 68 20 60 60 23 63 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 th.``#cloud-config``.line..The.o
5140 6e 6c 79 20 73 75 70 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 nly.supported.top-level.keys.are
5160 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 61 6e 64 20 60 60 .``vyos_config_commands``.and.``
5180 77 72 69 74 65 5f 66 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 write_files``..The.use.of.these.
51a0 6b 65 79 73 20 69 73 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 keys.is.described.in.the.followi
51c0 6e 67 20 74 77 6f 20 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 ng.two.sections..A.simple.exampl
51e0 65 20 69 73 20 73 68 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 e.is.shown.below,.where.the.ops.
5200 63 6f 6d 6d 61 6e 64 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 command.executed.in.the.post-hoo
5220 6b 20 73 63 72 69 70 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 k.script.is."show.interfaces"..A
5240 20 73 69 6e 67 6c 65 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 .single-quote.symbol.is.not.allo
5260 77 65 64 20 69 6e 73 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 wed.inside.command.or.value..API
5280 20 45 6e 64 70 6f 69 6e 74 73 00 41 63 63 65 70 74 20 6d 69 6e 69 6f 6e 20 6b 65 79 00 41 6c 6c .Endpoints.Accept.minion.key.All
52a0 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
52c0 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
52e0 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
5300 2e 00 41 6c 6c 20 6f 66 20 74 68 65 73 65 20 63 61 6e 20 62 65 20 6f 76 65 72 72 69 64 64 65 6e ..All.of.these.can.be.overridden
5320 20 75 73 69 6e 67 20 74 68 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 69 6e 20 75 73 65 72 .using.the.configuration.in.user
5340 2d 64 61 74 61 2e 00 41 6c 73 6f 2c 20 74 68 69 73 20 6c 61 62 20 63 6f 6e 73 69 64 65 72 73 3a -data..Also,.this.lab.considers:
5360 00 41 6e 73 69 62 6c 65 00 41 6e 79 20 6d 6f 64 69 66 69 63 61 74 69 6f 6e 73 20 77 65 72 65 20 .Ansible.Any.modifications.were.
5380 64 6f 6e 65 20 74 6f 20 77 6f 72 6b 20 61 72 6f 75 6e 64 20 75 6e 66 69 78 65 64 20 62 75 67 73 done.to.work.around.unfixed.bugs
53a0 20 61 6e 64 20 69 6d 70 6c 65 6d 65 6e 74 20 65 6e 68 61 6e 63 65 6d 65 6e 74 73 20 74 68 61 74 .and.implement.enhancements.that
53c0 20 61 72 65 20 6e 6f 74 20 63 6f 6d 70 6c 65 74 65 20 69 6e 20 74 68 65 20 56 79 4f 53 20 73 79 .are.not.complete.in.the.VyOS.sy
53e0 73 74 65 6d 20 63 61 6e 20 62 65 20 70 6c 61 63 65 64 20 68 65 72 65 2e 00 41 74 20 74 68 69 73 stem.can.be.placed.here..At.this
5400 20 73 74 65 70 20 77 65 20 63 61 6e 20 67 65 74 20 73 6f 6d 65 20 6f 70 2d 6d 6f 64 65 20 69 6e .step.we.can.get.some.op-mode.in
5420 66 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 56 79 4f 53 20 6e 6f 64 65 73 3a 00 41 75 74 68 65 formation.from.VyOS.nodes:.Authe
5440 6e 74 69 63 61 74 69 6f 6e 00 42 65 66 6f 72 65 20 73 74 61 72 74 69 6e 67 2c 20 70 6c 65 61 73 ntication.Before.starting,.pleas
5460 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
5480 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
54a0 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
54c0 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
54e0 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..
5500 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
5520 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
5540 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.
5560 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
5580 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
55a0 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
55c0 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
55e0 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
5600 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
5620 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
5640 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.
5660 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
5680 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
56a0 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
56c0 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-
56e0 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
5700 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
5720 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
5740 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.``
5760 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
5780 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
57a0 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
57c0 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
57e0 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
5800 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
5820 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 74 65 6e 74 20 P.transition.to.backup:.Content.
5840 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 6f 66 20 6e 65 74 77 of.commands.conf.Content.of.netw
5860 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 65 65 64 2e 69 73 6f ork-config.file:.Create.seed.iso
5880 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 75 73 65 72 2d 64 61 .Create.text.files.named.user-da
58a0 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 78 2d 62 61 73 65 64 ta.and.meta-data..On.linux-based
58c0 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 6c 69 74 79 20 63 61 .systems,.the.mkisofs.utility.ca
58e0 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 65 65 64 20 49 53 4f n.be.used.to.create.the.seed.ISO
5900 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 6c 6c 20 61 64 64 20 ..The.following.syntax.will.add.
5920 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 36 30 20 66 69 6c 65 these.files.to.the.ISO.9660.file
5940 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 43 75 73 74 6f 6d 20 .system..Creating.the.VM.Custom.
5960 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 77 69 74 68 20 72 6f scripts.are.not.executed.with.ro
5980 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 6e 73 69 64 65 20 69 ot.privileges.(Use.sudo.inside.i
59a0 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 50 20 6f 6e 20 66 69 f.this.is.necessary)..DHCP.on.fi
59c0 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 20 6e 6f 20 6e 65 74 rst.Ethernet.interface.if.no.net
59e0 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 76 69 64 65 64 2e 00 work.configuration.is.provided..
5a00 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 74 69 6f 6e Example.Example.of.configuration
5a20 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 76 2f 73 61 .commands.from.the.file."/srv/sa
5a40 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 70 6c 65 20 lt/states/commands.txt".Example.
5a60 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 20 6f 70 2d of.configuration:.Example.of.op-
5a80 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 66 69 67 75 mode:.Examples.Executing.Configu
5aa0 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 2d 68 6f 6f ration.Scripts.Executing.pre-hoo
5ac0 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 6f 6e 74 65 ks/post-hooks.Scripts.File.conte
5ae0 6e 74 73 00 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 nts.File.generated.with.previous
5b00 20 63 6f 6d 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 .command:.``/tmp/vyos-1.3.0-clou
5b20 64 2d 69 6e 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 79 2c 20 d-init-10G-qemu.qcow2``.Finaly,.
5b40 66 69 6c 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 file.**meta-data**.has.no.conten
5b60 74 2c 20 62 75 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 t,.but.it's.required..For.config
5b80 75 72 61 74 69 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 uration.and.enabling.the.API.see
5ba0 20 3a 72 65 66 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 .:ref:`http-api`.For.configurati
5bc0 6f 6e 2f 75 70 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 on/upgrade.management.issues,.mo
5be0 64 69 66 69 63 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 dification.of.this.script.should
5c00 20 62 65 20 74 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 .be.the.last.option..Always.try.
5c20 74 6f 20 66 69 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 to.find.solutions.based.on.CLI.c
5c40 6f 6d 6d 61 6e 64 73 20 66 69 72 73 74 2e 00 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 67 65 74 20 ommands.first..For.example,.get.
5c60 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
5c80 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
5ca0 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
5cc0 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
5ce0 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
5d00 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
5d20 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.
5d40 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
5d60 6e 74 61 74 69 6f 6e 2e 00 46 72 6f 6d 20 63 6c 69 20 6f 72 20 47 55 49 2c 20 70 6f 77 65 72 20 ntation..From.cli.or.GUI,.power.
5d80 6f 6e 20 56 4d 2c 20 61 6e 64 20 61 66 74 65 72 20 69 74 20 62 6f 6f 74 73 2c 20 76 65 72 69 66 on.VM,.and.after.it.boots,.verif
5da0 79 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 00 47 65 6e 65 72 61 74 65 20 71 63 6f 77 20 69 6d y.configuration.Generate.qcow.im
5dc0 61 67 65 00 48 65 72 65 20 69 73 20 61 20 73 69 6d 70 6c 65 20 65 78 61 6d 70 6c 65 3a 00 48 65 age.Here.is.a.simple.example:.He
5de0 72 65 20 69 73 20 61 6e 20 65 78 61 6d 70 6c 65 20 63 6c 6f 75 64 2d 63 6f 6e 66 69 67 20 74 68 re.is.an.example.cloud-config.th
5e00 61 74 20 61 70 70 65 6e 64 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 74 20 74 68 65 20 at.appends.configuration.at.the.
5e20 74 69 6d 65 20 6f 66 20 66 69 72 73 74 20 62 6f 6f 74 2e 00 49 53 4f 20 66 69 6c 65 73 20 73 74 time.of.first.boot..ISO.files.st
5e40 6f 72 61 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 20 orage:.``local``.volume.is.used.
5e60 66 6f 72 20 60 60 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 for.``.iso``.file.storage..In.th
5e80 69 73 20 73 63 65 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 is.scenario.``local``.volume.typ
5ea0 65 20 69 73 20 73 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 e.is.set.to.**directory**,.abd.a
5ec0 74 74 61 63 68 65 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 ttached.to.``/var/lib/vz``..If.c
5ee0 6f 6d 6d 61 6e 64 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 ommand.ends.in.a.value,.it.must.
5f00 62 65 20 69 6e 73 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 be.inside.single.quotes..If.no.n
5f20 65 74 77 6f 72 6b 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 etworking.configuration.is.provi
5f40 64 65 64 2c 20 74 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 ded,.then.dhcp.client.is.going.t
5f60 6f 20 62 65 20 65 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 o.be.enabled.on.first.interface.
5f80 20 42 61 72 65 20 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 .Bare.in.mind.that.this.configur
5fa0 61 74 69 6f 6e 20 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 ation.will.be.inyected.at.an.OS.
5fc0 6c 65 76 65 6c 2c 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 level,.so.don't.expect.to.find.d
5fe0 68 63 70 20 63 6c 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 hcp.client.configuration.on.vyos
6000 20 63 6c 69 2e 20 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 .cli..Because.of.this.behavior,.
6020 69 6e 20 6e 65 78 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 in.next.example.lab.we.will.disa
6040 62 6c 65 20 64 68 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 ble.dhcp-client.configuration.on
6060 20 65 74 68 30 2e 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 .eth0..If.you.encounter.problems
6080 2c 20 76 65 72 69 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 ,.verify.that.the.cloud-config.d
60a0 6f 63 75 6d 65 6e 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 ocument.contains.valid.YAML..Onl
60c0 69 6e 65 20 72 65 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 ine.resources.such.as.https://ww
60e0 77 2e 79 61 6d 6c 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 w.yamllint.com/.provide.a.simple
6100 20 74 6f 6f 6c 20 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 .tool.for.validating.YAML..If.yo
6120 75 20 6e 65 65 64 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 u.need.to.gather.information.fro
6140 6d 20 6c 69 6e 75 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 m.linux.commands.to.configure.Vy
6160 4f 53 2c 20 79 6f 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 OS,.you.can.execute.commands.and
6180 20 74 68 65 6e 20 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 .then.configure.VyOS.in.the.same
61a0 20 73 63 72 69 70 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 .script..If.you.want.to.script.t
61c0 68 65 20 63 6f 6e 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 he.configs.in.a.language.other.t
61e0 68 61 6e 20 62 61 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 han.bash.you.can.have.your.scrip
6200 74 20 6f 75 74 70 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 t.output.commands.and.then.sourc
6220 65 20 74 68 65 6d 20 69 6e 20 61 20 62 61 73 68 20 73 63 72 69 70 74 2e 00 49 6e 20 50 72 6f 78 e.them.in.a.bash.script..In.Prox
6240 6d 6f 78 20 73 65 72 76 65 72 20 74 68 72 65 65 20 66 69 6c 65 73 20 61 72 65 20 67 6f 69 6e 67 mox.server.three.files.are.going
6260 20 74 6f 20 62 65 20 75 73 65 64 20 66 6f 72 20 74 68 69 73 20 73 65 74 75 70 3a 00 49 6e 20 56 .to.be.used.for.this.setup:.In.V
6280 79 4f 53 2c 20 62 79 20 64 65 66 61 75 6c 74 2c 20 65 6e 61 62 6c 65 73 20 6f 6e 6c 79 20 74 77 yOS,.by.default,.enables.only.tw
62a0 6f 20 6d 6f 64 75 6c 65 73 3a 00 49 6e 20 74 68 69 73 20 6c 61 62 2c 20 61 6c 6c 20 66 69 6c 65 o.modules:.In.this.lab,.all.file
62c0 73 20 61 72 65 20 6c 6f 63 61 74 65 64 20 69 6e 20 60 60 2f 74 6d 70 2f 60 60 2e 20 53 6f 2c 20 s.are.located.in.``/tmp/``..So,.
62e0 62 65 66 6f 72 65 20 67 6f 69 6e 67 20 6f 6e 2c 20 6c 65 74 73 20 6d 6f 76 65 20 74 6f 20 74 68 before.going.on,.lets.move.to.th
6300 61 74 20 64 69 72 65 63 74 6f 72 79 3a 00 49 6e 20 74 68 69 73 20 6c 61 62 2c 20 77 65 20 61 72 at.directory:.In.this.lab,.we.ar
6320 65 20 75 73 69 6e 67 20 31 2e 33 2e 30 20 56 79 4f 53 20 76 65 72 73 69 6f 6e 20 61 6e 64 20 73 e.using.1.3.0.VyOS.version.and.s
6340 65 74 74 69 6e 67 20 61 20 64 69 73 6b 20 6f 66 20 31 30 47 2e 20 44 6f 77 6e 6c 6f 61 64 20 56 etting.a.disk.of.10G..Download.V
6360 79 4f 53 20 2e 69 73 6f 20 66 69 6c 65 20 61 6e 64 20 73 61 76 65 20 69 74 20 61 73 20 60 60 2f yOS..iso.file.and.save.it.as.``/
6380 74 6d 70 2f 76 79 6f 73 2e 69 73 6f 60 60 2e 20 43 6f 6d 6d 61 6e 64 20 75 73 65 64 20 66 6f 72 tmp/vyos.iso``..Command.used.for
63a0 20 67 65 6e 65 72 61 74 69 6e 67 20 71 63 6f 77 20 69 6d 61 67 65 3a 00 49 6e 69 74 69 61 6c 20 .generating.qcow.image:.Initial.
63c0 43 6f 6e 66 69 67 75 72 61 74 69 6f 6e 00 49 6e 6a 65 63 74 69 6e 67 20 63 6f 6e 66 69 67 75 72 Configuration.Injecting.configur
63e0 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 20 74 6f 20 63 6c 6f ation.data.is.not.limited.to.clo
6400 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 6d 70 6c 6f 79 20 74 ud.platforms..Users.can.employ.t
6420 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 20 69 6e 6a 65 63 74 he.NoCloud.data.source.to.inject
6440 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 6f 6e 20 76 69 72 74 .user-data.and.meta-data.on.virt
6460 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 20 61 73 20 56 4d 77 ualization.platforms.such.as.VMw
6480 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 74 61 6c 6c 20 60 60 are,.Hyper-V.and.KVM..Install.``
64a0 6e 61 70 61 6c 6d 2d 76 79 6f 73 60 60 20 6d 6f 64 75 6c 65 00 49 74 20 69 73 20 70 6f 73 73 69 napalm-vyos``.module.It.is.possi
64c0 62 6c 65 20 74 6f 20 63 6f 6e 66 69 67 75 72 65 20 56 79 4f 53 20 76 69 61 20 6e 65 74 6d 69 6b ble.to.configure.VyOS.via.netmik
64e0 6f 5f 20 70 72 6f 78 79 20 6d 6f 64 75 6c 65 2e 20 49 74 20 72 65 71 75 69 72 65 73 20 61 20 6d o_.proxy.module..It.requires.a.m
6500 69 6e 69 6f 6e 20 77 69 74 68 20 69 6e 73 74 61 6c 6c 65 64 20 70 61 63 6b 65 74 20 20 60 60 70 inion.with.installed.packet..``p
6520 79 74 68 6f 6e 33 2d 6e 65 74 6d 69 6b 6f 60 60 20 6d 6f 64 75 6c 65 20 77 68 6f 20 68 61 73 20 ython3-netmiko``.module.who.has.
6540 61 20 63 6f 6e 6e 65 63 74 69 6f 6e 20 74 6f 20 56 79 4f 53 20 6e 6f 64 65 73 2e 20 53 61 6c 74 a.connection.to.VyOS.nodes..Salt
6560 2d 6d 69 6e 69 6f 6e 20 68 61 76 65 20 74 6f 20 63 6f 6d 6d 75 6e 69 63 61 74 65 20 77 69 74 68 -minion.have.to.communicate.with
6580 20 73 61 6c 74 20 6d 61 73 74 65 72 00 4d 61 6a 6f 72 20 63 6c 6f 75 64 20 70 72 6f 76 69 64 65 .salt.master.Major.cloud.provide
65a0 72 73 20 6f 66 66 65 72 20 61 20 6d 65 61 6e 73 20 6f 66 20 70 72 6f 76 69 64 69 6e 67 20 75 73 rs.offer.a.means.of.providing.us
65c0 65 72 2d 64 61 74 61 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 er-data.at.the.time.of.instance.
65e0 6c 61 75 6e 63 68 2e 20 49 74 20 63 61 6e 20 62 65 20 70 72 6f 76 69 64 65 64 20 61 73 20 70 6c launch..It.can.be.provided.as.pl
6600 61 69 6e 20 74 65 78 74 20 6f 72 20 61 73 20 62 61 73 65 36 34 2d 65 6e 63 6f 64 65 64 20 74 65 ain.text.or.as.base64-encoded.te
6620 78 74 2c 20 64 65 70 65 6e 64 69 6e 67 20 6f 6e 20 63 6c 6f 75 64 20 70 72 6f 76 69 64 65 72 2e xt,.depending.on.cloud.provider.
6640 20 41 6c 73 6f 2c 20 69 74 20 63 61 6e 20 62 65 20 63 6f 6d 70 72 65 73 73 65 64 20 75 73 69 6e .Also,.it.can.be.compressed.usin
6660 67 20 67 7a 69 70 2c 20 77 68 69 63 68 20 6d 61 6b 65 73 20 73 65 6e 73 65 20 77 69 74 68 20 61 g.gzip,.which.makes.sense.with.a
6680 20 6c 6f 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 63 6f 6d 6d 61 6e 64 73 20 6c 69 73 .long.configuration.commands.lis
66a0 74 2c 20 62 65 63 61 75 73 65 20 6f 66 20 74 68 65 20 68 61 72 64 20 6c 69 6d 69 74 20 74 6f 20 t,.because.of.the.hard.limit.to.
66c0 7e 31 36 33 38 34 20 62 79 74 65 73 20 66 6f 72 20 74 68 65 20 77 68 6f 6c 65 20 75 73 65 72 2d ~16384.bytes.for.the.whole.user-
66e0 64 61 74 61 2e 00 4d 65 74 61 64 61 74 61 20 2d 20 4d 65 74 61 64 61 74 61 20 69 73 20 73 6f 75 data..Metadata.-.Metadata.is.sou
6700 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 6f 72 20 68 79 rced.by.the.cloud.platform.or.hy
6720 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 68 65 72 65 20 pervisor..In.some.clouds,.there.
6740 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 6e 64 70 6f 69 is.implemented.as.an.HTTP.endpoi
6760 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 32 35 34 60 60 nt.at.``http://169.254.169.254``
6780 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 6e 65 65 64 73 ..Most.important.keys.that.needs
67a0 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 65 74 6d 69 6b .to.be.considered:.Napalm.Netmik
67c0 6f 00 4e 65 74 6d 69 6b 6f 2d 70 72 6f 78 79 00 4e 65 74 77 6f 72 6b 20 63 6f 6e 66 69 67 75 72 o.Netmiko-proxy.Network.configur
67e0 61 74 69 6f 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 ation.-.This.config.source.infor
6800 6d 73 20 74 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 ms.the.system.about.the.network.
6820 73 65 74 74 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 settings.like.IP.addresses,.rout
6840 65 73 2c 20 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 es,.DNS..Available.only.in.sever
6860 61 6c 20 63 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 al.cloud.and.virtualization.plat
6880 66 6f 72 6d 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 forms..Networking.configurations
68a0 20 73 68 6f 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 .shouldn't.be.passed.in.user-dat
68c0 61 20 66 69 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 a.file..NoCloud.Nornir.Note.that
68e0 20 74 68 65 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 .the./opt/vyatta/etc/config.is.u
6900 73 65 64 20 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 sed.instead.of.the./config/scrip
6920 74 73 20 64 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 ts.directory.referenced.in.the.:
6940 72 65 66 3a 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 ref:`command-scripting`.section.
6960 6f 66 20 74 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 of.the.documentation.because.the
6980 20 2f 63 6f 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 ./config/script.directory.isn't.
69a0 6d 6f 75 6e 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 mounted.when.the.``write_files``
69c0 20 6d 6f 64 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 .module.executes..Notes.for.this
69e0 20 70 61 72 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 .particular.example,.that.may.ne
6a00 65 64 20 74 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 ed.to.be.modified.in.other.setup
6a20 73 3a 00 4e 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 s:.Now,.that.file.needs.to.be.co
6a40 70 69 65 64 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 pied.to.proxmox.server:.On.VyOS.
6a60 74 68 69 73 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 this.will.cause.the.following.pr
6a80 6f 62 6c 65 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 oblem:.After.modifying.the.confi
6aa0 67 75 72 61 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 guration.via.script.like.this.on
6ac0 63 65 2c 20 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 ce,.it.is.not.possible.to.manual
6ae0 6c 79 20 6d 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 ly.modify.the.config.anymore:.On
6b00 20 70 72 6f 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 .proxmox.server:.Once.the.three.
6b20 66 69 6c 65 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 files.were.created,.it's.time.to
6b40 20 67 65 6e 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 .generate.the.``seed.iso``.image
6b60 2c 20 77 68 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 ,.which.needs.to.be.mounted.to.t
6b80 68 65 20 6e 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 he.new.VM.as.a.cd..One.command.p
6ba0 65 72 20 6c 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 er.line..Op-mode.Other.script.la
6bc0 6e 67 75 61 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 nguages.Output.Output.op-mode.Pl
6be0 65 61 73 65 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 ease.take.a.look.at.the.Contribu
6c00 74 69 6e 67 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 ting.Guide.for.our.:ref:`documen
6c20 74 61 74 69 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 tation`..Postconfig.on.boot.Powe
6c40 72 20 6f 6e 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 r.on.VM.and.verifications.Precon
6c60 66 69 67 20 6f 6e 20 62 6f 6f 74 00 50 72 65 70 61 72 65 20 63 6c 6f 75 64 2d 69 6e 69 74 20 66 fig.on.boot.Prepare.cloud-init.f
6c80 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 32 2e 31 iles.Proxmox.IP.address:.**192.1
6ca0 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 69 6e 69 68.0.253/24**.Proxmox.`Cloud-ini
6cc0 74 2d 53 75 70 70 6f 72 74 60 5f 2e 00 52 65 66 65 72 65 6e 63 65 73 00 52 65 6d 6f 76 65 20 64 t-Support`_..References.Remove.d
6ce0 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 65 efault.dhcp.client.on.first.inte
6d00 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 74 rface,.and.load.other.configurat
6d20 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 6f ion.during.first.boot,.using.clo
6d40 75 64 2d 69 6e 69 74 2e 00 52 75 6e 20 61 6e 73 69 62 6c 65 00 52 75 6e 20 63 6f 6d 6d 61 6e 64 ud-init..Run.ansible.Run.command
6d60 73 20 72 65 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 s.remotely.Run.configuration.com
6d80 6d 61 6e 64 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 mands.Run.operational.commands.S
6da0 53 48 20 69 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 SH.is.configured.on.port.22..Sal
6dc0 74 00 53 61 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 t.Salt.master.configuration:.Sav
6de0 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 61 20 66 e.a.running.configuration.to.a.f
6e00 69 6c 65 2e 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 ile..Save.a.running.configuratio
6e20 6e 20 74 6f 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 n.to.the.startup.configuration..
6e40 57 68 65 6e 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 When.you.don't.specify.the.file.
6e60 77 68 65 6e 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 when.saving,.it.saves.to.``/conf
6e80 69 67 2f 63 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 ig/config.boot``..Script.vyos-na
6ea0 70 61 6c 6d 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 palm.py.Scripts.are.run.in.alpha
6ec0 62 65 74 69 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 betical.order..Their.names.must.
6ee0 63 6f 6e 73 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 consist.entirely.of.ASCII.upper-
6f00 20 61 6e 64 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 .and.lower-case.letters,ASCII.di
6f20 67 69 74 73 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 gits,.ASCII.underscores,.and.ASC
6f40 49 49 20 6d 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 II.minus-hyphens.No.other.charac
6f60 74 65 72 73 20 61 72 65 20 61 6c 6c 6f 77 65 64 2e 00 53 6f 6d 65 74 69 6d 65 73 20 79 6f 75 20 ters.are.allowed..Sometimes.you.
6f80 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 75 6e 63 68 20 simply.wan't.to.execute.a.bunch.
6fa0 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 20 6f 6e 20 61 of.op-mode.commands.via.SSH.on.a
6fc0 20 72 65 6d 6f 74 65 20 56 79 4f 53 20 73 79 73 74 65 6d 2e 00 53 74 6f 72 61 67 65 64 20 75 73 .remote.VyOS.system..Storaged.us
6fe0 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 74 ed:.volume.local,.which.is.mount
7000 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 2c ed.on.directory.**/var/lib/vz**,
7020 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 6e .and.contains.all.type.of.conten
7040 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 65 t,.including.snippets..Structure
7060 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 65 .of./srv/salt:.Structure.of.file
7080 73 00 53 79 73 74 65 6d 20 44 65 66 61 75 6c 74 73 2f 46 61 6c 6c 62 61 63 6b 73 00 54 68 65 20 s.System.Defaults/Fallbacks.The.
70a0 41 50 49 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 API.pushes.every.request.to.a.se
70c0 73 73 69 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 ssion.and.commit.it..But.some.of
70e0 20 56 79 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 .VyOS.components.like.DHCP.and.P
7100 50 50 6f 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 PPoE.Servers,.IPSec,.VXLAN,.and.
7120 6f 74 68 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 other.tunnels.require.full.confi
7140 67 75 72 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 guration.for.commit..The.endpoin
7160 74 20 77 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 t.will.process.multiple.commands
7180 20 77 68 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 .when.you.pass.them.as.a.list.to
71a0 20 74 68 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 .the.``data``.field..The.``/conf
71c0 69 67 2f 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 ig/scripts/vyos-postconfig-bootu
71e0 70 2e 73 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 p.script``.script.is.called.on.b
7200 6f 6f 74 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 oot.after.the.VyOS.configuration
7220 20 69 73 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 .is.fully.applied..The.``/config
7240 2f 73 63 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 /scripts/vyos-preconfig-bootup.s
7260 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
7280 20 62 65 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 .before.the.VyOS.configuration.d
72a0 75 72 69 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 uring.boot.process..The.``/show`
72c0 60 20 65 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 `.endpoint.is.to.show.everything
72e0 20 69 6e 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 .in.the.operational.mode..The.``
7300 67 65 6e 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 generate``.endpoint.run.a.``gene
7320 72 61 74 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 rate``.command..The.``reset``.en
7340 64 70 6f 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 dpoint.run.a.``reset``.command..
7360 54 68 65 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 The.commands.list.produced.by.th
7380 65 20 60 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 e.``show.configuration.commands`
73a0 60 20 63 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 `.command.on.a.VyOS.router.shoul
73c0 64 20 63 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 d.comply.with.all.the.requiremen
73e0 74 73 2c 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 ts,.so.it.is.easy.to.get.a.prope
7400 72 20 63 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 r.commands.list.by.copying.it.fr
7420 6f 6d 20 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 om.another.router..The.configura
7440 74 69 6f 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 tion.specified.in.the.cloud-conf
7460 69 67 20 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 ig.document.overwrites.default.c
7480 6f 6e 66 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 onfiguration.values.and.values.c
74a0 6f 6e 66 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 onfigured.via.Metadata..The.defa
74c0 75 6c 74 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 ult.directories.where.your.custo
74e0 6d 20 53 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 m.Scripts.should.be.located.are:
7500 00 54 68 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 .The.default.file.looks.like.thi
7520 73 3a 00 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 s:.The.easiest.way.to.configure.
7540 74 68 65 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 the.system.via.user-data.is.the.
7560 43 6c 6f 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 Cloud-config.syntax.described.be
7580 6c 6f 77 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 low..The.endpoint.``/config-file
75a0 60 60 20 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 ``.is.to.save.or.load.a.configur
75c0 61 74 69 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 ation..The.following.example.set
75e0 73 20 74 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 s.the.hostname.based.on.the.inst
7600 61 6e 63 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 ance.identifier.obtained.from.th
7620 65 20 45 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 e.EC2.metadata.service..The.foll
7640 6f 77 69 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 owing.example.shows.how.to.execu
7660 74 65 20 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 te.commands.after.the.initial.co
7680 6e 66 69 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 nfiguration..The.key.used.to.des
76a0 69 67 6e 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 ignate.a.VyOS.configuration.is.`
76c0 60 76 79 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 `vyos_config_commands``..What.fo
76e0 6c 6c 6f 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 llows.is.VyOS.configuration.usin
7700 67 20 74 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 g.the."set-style".syntax..Both."
7720 73 65 74 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 set".and."delete".commands.are.s
7740 75 70 70 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 upported..The.seed.iso.file.can.
7760 62 65 20 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 be.attached.to.the.virtual.machi
7780 6e 65 2e 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 ne..As.an.example,.the.method.wi
77a0 74 68 20 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 th.KVM.to.attach.the.ISO.as.a.CD
77c0 20 64 72 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 .drive.follows..There.is.a.pitfa
77e0 6c 6c 20 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 ll.when.working.with.configurati
7800 6f 6e 20 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 on.scripts..It.is.tempting.to.ca
7820 6c 6c 20 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 ll.configuration.scripts.with."s
7840 75 64 6f 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 udo".(i.e.,.temporary.root.permi
7860 73 73 69 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 ssions),.because.that's.the.comm
7880 6f 6e 20 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 on.way.on.most.Linux.platforms.t
78a0 6f 20 63 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 o.call.system.commands..These.ar
78c0 65 20 74 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 e.the.VyOS.defaults.and.fallback
78e0 73 2e 00 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 s..This.section.needs.improvemen
7900 74 73 2c 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 ts,.examples.and.explanations..T
7920 68 69 73 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 his.will.result.in.the.following
7940 20 65 72 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 .error.message:.``Set.failed``.I
7960 66 20 74 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 f.this.happens,.a.reboot.is.requ
7980 69 72 65 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 ired.to.be.able.to.edit.the.conf
79a0 69 67 20 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 ig.manually.again..To.Load.a.con
79c0 66 69 67 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 figuration.file..To.add.or.delet
79e0 65 20 61 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 e.an.image,.use.the.``/image``.e
7a00 6e 64 70 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 ndpoint..To.avoid.these.problems
7a20 2c 20 74 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 ,.the.proper.way.is.to.call.a.sc
7a40 72 69 70 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 ript.with.the.``vyattacfg``.grou
7a60 70 2c 20 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 p,.e.g.,.by.using.the.``sg``.(sw
7a80 69 74 63 68 20 67 72 6f 75 70 29 20 63 6f 6d 6d 61 6e 64 3a 00 54 6f 20 67 65 74 20 74 68 65 20 itch.group).command:.To.get.the.
7aa0 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 20 65 6d 70 whole.configuration,.pass.an.emp
7ac0 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 64 00 54 6f ty.list.to.the.``path``.field.To
7ae0 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 69 6f 6e 73 .include.VyOS.specific.functions
7b00 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 6f 75 72 63 .and.aliases.you.need.to.``sourc
7b20 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 73 63 72 69 e./opt/vyatta/etc/functions/scri
7b40 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 6f 70 20 6f pt-template``.files.at.the.top.o
7b60 66 20 79 6f 75 72 20 73 63 72 69 70 74 2e 00 54 6f 20 6d 61 6b 65 20 73 75 72 65 20 74 68 61 74 f.your.script..To.make.sure.that
7b80 20 61 20 73 63 72 69 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 .a.script.is.not.accidentally.ca
7ba0 6c 6c 65 64 20 77 69 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 lled.without.the.``vyattacfg``.g
7bc0 72 6f 75 70 2c 20 74 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 roup,.the.script.can.be.safeguar
7be0 64 65 64 20 6c 69 6b 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 ded.like.this:.To.only.get.a.par
7c00 74 20 6f 66 20 74 68 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 t.of.the.configuration,.for.exam
7c20 70 6c 65 20 60 60 73 79 73 74 65 6d 20 73 79 73 6c 6f 67 60 60 2e 00 54 72 6f 75 62 6c 65 73 68 ple.``system.syslog``..Troublesh
7c40 6f 6f 74 69 6e 67 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 ooting.Unlike.a.normal.configura
7c60 74 69 6f 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 tion.session,.all.operational.co
7c80 6d 6d 61 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 mmands.must.be.prepended.with.``
7ca0 72 75 6e 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 run``,.even.if.you.haven't.creat
7cc0 65 64 20 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 ed.a.session.with.configure..Use
7ce0 72 2d 64 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 r-data.User-data.-.User-data.is.
7d00 73 70 65 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 specified.by.the.user..This.conf
7d20 69 67 20 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 ig.source.offers.the.ability.to.
7d40 69 6e 73 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 insert.any.CLI.configuration.com
7d60 6d 61 6e 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 mands.into.the.configuration.bef
7d80 6f 72 65 20 74 68 65 20 66 69 72 73 74 20 62 6f 6f 74 2e 00 56 4d 20 49 44 3a 20 69 6e 20 74 68 ore.the.first.boot..VM.ID:.in.th
7da0 69 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 is.example,.VM.ID.used.is.555..V
7dc0 4d 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 M.Resources:.these.parameters.ca
7de0 6e 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 n.be.modified.as.needed..VM.Stor
7e00 61 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 age:.``local``.volume.is.used..V
7e20 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 20 60 63 6c yOS.API.VyOS.Automation.VyOS.`cl
7e40 6f 75 64 2d 69 6e 69 74 2d 64 6f 63 73 60 5f 2e 00 56 79 4f 53 20 63 6c 6f 75 64 2d 69 6e 69 74 oud-init-docs`_..VyOS.cloud-init
7e60 00 56 79 4f 53 20 63 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 .VyOS.configuration.commands.are
7e80 20 64 65 66 69 6e 65 64 20 69 6e 20 75 73 65 72 2d 64 61 74 61 20 66 69 6c 65 2e 00 56 79 4f 53 .defined.in.user-data.file..VyOS
7ea0 20 68 61 73 20 74 68 65 20 61 62 69 6c 69 74 79 20 74 6f 20 72 75 6e 20 63 75 73 74 6f 6d 20 20 .has.the.ability.to.run.custom..
7ec0 73 63 72 69 70 74 73 20 62 65 66 6f 72 65 20 61 6e 64 20 61 66 74 65 72 20 65 61 63 68 20 63 6f scripts.before.and.after.each.co
7ee0 6d 6d 69 74 00 56 79 4f 53 20 73 75 70 70 6f 72 74 20 74 68 72 65 65 20 74 79 70 65 73 20 6f 66 mmit.VyOS.support.three.types.of
7f00 20 63 6f 6e 66 69 67 20 73 6f 75 72 63 65 73 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 63 .config.sources..VyOS.supports.c
7f20 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 76 69 61 20 61 6e 73 69 62 6c 65 2e 20 4e 65 65 64 20 74 onfiguration.via.ansible..Need.t
7f40 6f 20 69 6e 73 74 61 6c 6c 20 60 60 61 6e 73 69 62 6c 65 60 60 20 61 6e 64 20 60 60 70 79 74 68 o.install.``ansible``.and.``pyth
7f60 6f 6e 33 2d 70 61 72 61 6d 69 6b 6f 60 60 20 6d 6f 64 75 6c 65 00 56 79 4f 53 20 73 75 70 70 6f on3-paramiko``.module.VyOS.suppo
7f80 72 74 73 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 76 69 61 20 6e 65 74 6d 69 6b 6f 5f 2e 20 rts.configuration.via.netmiko_..
7fa0 49 74 20 72 65 71 75 69 72 65 73 20 74 6f 20 69 6e 73 74 61 6c 6c 20 60 60 70 79 74 68 6f 6e 33 It.requires.to.install.``python3
7fc0 2d 6e 65 74 6d 69 6b 6f 60 60 20 6d 6f 64 75 6c 65 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 -netmiko``.module..VyOS.supports
7fe0 20 65 78 65 63 75 74 69 6e 67 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 61 6e 64 20 6f 70 65 .executing.configuration.and.ope
8000 72 61 74 69 6f 6e 61 6c 20 63 6f 6d 6d 61 6e 64 73 20 6e 6f 6e 2d 69 6e 74 65 72 61 63 74 69 76 rational.commands.non-interactiv
8020 65 6c 79 20 66 72 6f 6d 20 73 68 65 6c 6c 20 73 63 72 69 70 74 73 2e 00 56 79 4f 53 20 73 75 70 ely.from.shell.scripts..VyOS.sup
8040 70 6f 72 74 73 20 6f 70 2d 6d 6f 64 65 20 61 6e 64 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20 ports.op-mode.and.configuration.
8060 76 69 61 20 73 61 6c 74 5f 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 73 6f 6d 65 20 6e 61 via.salt_..VyOS.supports.some.na
8080 70 61 6c 6d 5f 20 66 75 6e 63 74 69 6f 6e 73 20 66 6f 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f palm_.functions.for.configuratio
80a0 6e 20 61 6e 64 20 6f 70 2d 6d 6f 64 65 2e 20 49 74 20 72 65 71 75 69 72 65 73 20 6d 6f 72 65 20 n.and.op-mode..It.requires.more.
80c0 74 65 73 74 73 2e 00 56 79 4f 53 20 73 75 70 70 6f 72 74 73 20 74 68 65 20 65 78 65 63 75 74 69 tests..VyOS.supports.the.executi
80e0 6f 6e 20 6f 66 20 6f 70 65 72 61 74 69 6f 6e 61 6c 20 63 6f 6d 6d 61 6e 64 73 20 61 6e 64 20 6c on.of.operational.commands.and.l
8100 69 6e 75 78 20 63 6f 6d 6d 61 6e 64 73 20 61 74 20 69 6e 69 74 69 61 6c 20 62 6f 6f 74 2e 20 54 inux.commands.at.initial.boot..T
8120 68 69 73 20 69 73 20 61 63 63 6f 6d 70 6c 69 73 68 65 64 20 75 73 69 6e 67 20 60 60 77 72 69 74 his.is.accomplished.using.``writ
8140 65 5f 66 69 6c 65 73 60 60 20 74 6f 20 63 65 72 74 61 69 6e 20 66 69 6c 65 73 20 69 6e 20 74 68 e_files``.to.certain.files.in.th
8160 65 20 2f 6f 70 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 e./opt/vyatta/etc/config/scripts
8180 20 64 69 72 65 63 74 6f 72 79 2e 20 43 6f 6d 6d 61 6e 64 73 20 73 70 65 63 69 66 69 65 64 20 69 .directory..Commands.specified.i
81a0 6e 20 6f 70 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 n.opt/vyatta/etc/config/scripts/
81c0 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 20 61 72 65 vyos-preconfig-bootup.script.are
81e0 20 65 78 65 63 75 74 65 64 20 70 72 69 6f 72 20 74 6f 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e .executed.prior.to.configuration
8200 2e 20 54 68 65 20 2f 6f 70 74 2f 76 79 61 74 74 61 2f 65 74 63 2f 63 6f 6e 66 69 67 2f 73 63 72 ..The./opt/vyatta/etc/config/scr
8220 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
8240 70 74 20 66 69 6c 65 20 63 6f 6e 74 61 69 6e 73 20 63 6f 6d 6d 61 6e 64 73 20 74 6f 20 62 65 20 pt.file.contains.commands.to.be.
8260 65 78 65 63 75 74 65 64 20 61 66 74 65 72 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 2e 20 49 6e executed.after.configuration..In
8280 20 62 6f 74 68 20 63 61 73 65 73 2c 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 65 78 65 63 75 74 .both.cases,.commands.are.execut
82a0 65 64 20 61 73 20 74 68 65 20 72 6f 6f 74 20 75 73 65 72 2e 00 57 65 20 6e 65 65 64 20 32 20 66 ed.as.the.root.user..We.need.2.f
82c0 69 6c 65 73 2c 20 63 6f 6d 6d 61 6e 64 73 2e 63 6f 6e 66 20 61 6e 64 20 73 63 72 69 70 74 20 69 iles,.commands.conf.and.script.i
82e0 74 73 65 6c 66 2e 00 57 68 69 6c 65 20 6f 74 68 65 72 20 6d 65 74 68 6f 64 73 20 65 78 69 73 74 tself..While.other.methods.exist
8300 2c 20 74 68 65 20 6d 6f 73 74 20 73 74 72 61 69 67 68 74 66 6f 72 77 61 72 64 20 6d 65 74 68 6f ,.the.most.straightforward.metho
8320 64 20 66 6f 72 20 75 73 69 6e 67 20 74 68 65 20 4e 6f 43 6c 6f 75 64 20 64 61 74 61 20 73 6f 75 d.for.using.the.NoCloud.data.sou
8340 72 63 65 20 69 73 20 63 72 65 61 74 69 6e 67 20 61 20 73 65 65 64 20 49 53 4f 20 61 6e 64 20 61 rce.is.creating.a.seed.ISO.and.a
8360 74 74 61 63 68 69 6e 67 20 69 74 20 74 6f 20 74 68 65 20 76 69 72 74 75 61 6c 20 6d 61 63 68 69 ttaching.it.to.the.virtual.machi
8380 6e 65 20 61 73 20 61 20 43 44 20 64 72 69 76 65 2e 20 54 68 65 20 76 6f 6c 75 6d 65 20 6d 75 73 ne.as.a.CD.drive..The.volume.mus
83a0 74 20 62 65 20 66 6f 72 6d 61 74 74 65 64 20 61 73 20 61 20 76 66 61 74 20 6f 72 20 49 53 4f 20 t.be.formatted.as.a.vfat.or.ISO.
83c0 39 36 36 30 20 66 69 6c 65 20 73 79 73 74 65 6d 20 77 69 74 68 20 74 68 65 20 6c 61 62 65 6c 20 9660.file.system.with.the.label.
83e0 22 63 69 64 61 74 61 22 20 6f 72 20 22 43 49 44 41 54 41 22 2e 00 57 69 6c 6c 20 72 65 74 75 72 "cidata".or."CIDATA"..Will.retur
8400 6e 3a 00 57 69 74 68 20 74 68 65 20 60 60 72 65 74 72 69 65 76 65 60 60 20 65 6e 64 70 6f 69 6e n:.With.the.``retrieve``.endpoin
8420 74 20 79 6f 75 20 67 65 74 20 70 61 72 74 73 20 6f 72 20 74 68 65 20 77 68 6f 6c 65 20 63 6f 6e t.you.get.parts.or.the.whole.con
8440 66 69 67 75 72 61 74 69 6f 6e 2e 00 57 69 74 68 6f 75 74 20 70 72 6f 78 79 20 69 74 20 72 65 71 figuration..Without.proxy.it.req
8460 75 69 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 uires.VyOS.minion.configuration.
8480 61 6e 64 20 73 75 70 70 6f 72 74 20 6f 70 2d 6d 6f 64 65 20 64 61 74 61 3a 00 57 69 74 68 6f 75 and.support.op-mode.data:.Withou
84a0 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 6e 20 t.proxy.it.requires.VyOS.minion.
84c0 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 73 20 6f 70 2d 6d 6f configuration.and.supports.op-mo
84e0 64 65 20 64 61 74 61 3a 00 59 6f 75 20 63 61 6e 20 70 61 73 73 20 61 20 60 60 73 65 74 60 60 2c de.data:.You.can.pass.a.``set``,
8500 20 60 60 64 65 6c 65 74 65 60 60 20 6f 72 20 60 60 63 6f 6d 6d 65 6e 74 60 60 20 63 6f 6d 6d 61 .``delete``.or.``comment``.comma
8520 6e 64 20 74 6f 20 74 68 65 20 60 60 2f 63 6f 6e 66 69 67 75 72 65 60 60 20 65 6e 64 70 6f 69 6e nd.to.the.``/configure``.endpoin
8540 74 2e 00 60 60 64 65 6c 65 74 65 60 60 20 61 20 73 69 6e 67 6c 65 20 63 6f 6d 6d 61 6e 64 00 60 t..``delete``.a.single.command.`
8560 60 73 65 65 64 2e 69 73 6f 60 60 20 77 61 73 20 70 72 65 76 69 6f 75 73 6c 79 20 63 72 65 61 74 `seed.iso``.was.previously.creat
8580 65 64 20 69 6e 20 64 69 72 65 63 74 6f 72 79 20 60 60 2f 74 6d 70 2f 60 60 2e 20 49 74 27 73 20 ed.in.directory.``/tmp/``..It's.
85a0 6e 65 63 65 73 73 61 72 79 20 74 6f 20 6d 6f 76 65 20 69 74 20 74 6f 20 60 60 2f 76 61 72 2f 6c necessary.to.move.it.to.``/var/l
85c0 69 62 2f 76 7a 2f 74 65 6d 70 6c 61 74 65 2f 69 73 6f 60 60 00 60 60 73 65 74 60 60 20 61 20 73 ib/vz/template/iso``.``set``.a.s
85e0 69 6e 67 6c 65 20 63 6f 6d 6d 61 6e 64 00 60 60 76 79 6f 73 5f 75 73 65 72 64 61 74 61 60 60 20 ingle.command.``vyos_userdata``.
8600 2d 20 74 68 65 20 6d 6f 64 75 6c 65 20 61 63 63 65 70 74 73 20 61 20 6c 69 73 74 20 6f 66 20 43 -.the.module.accepts.a.list.of.C
8620 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 69 6e 20 61 20 60 LI.configuration.commands.in.a.`
8640 60 76 79 6f 73 5f 63 6f 6e 66 69 67 5f 63 6f 6d 6d 61 6e 64 73 60 60 20 73 65 63 74 69 6f 6e 2c `vyos_config_commands``.section,
8660 20 77 68 69 63 68 20 67 69 76 65 73 20 61 6e 20 65 61 73 79 20 77 61 79 20 74 6f 20 63 6f 6e 66 .which.gives.an.easy.way.to.conf
8680 69 67 75 72 65 20 74 68 65 20 73 79 73 74 65 6d 20 64 75 72 69 6e 67 20 64 65 70 6c 6f 79 6d 65 igure.the.system.during.deployme
86a0 6e 74 2e 00 60 60 76 79 6f 73 60 60 2f 60 60 76 79 6f 73 60 60 20 63 72 65 64 65 6e 74 69 61 6c nt..``vyos``/``vyos``.credential
86c0 73 20 69 66 20 6e 6f 20 6f 74 68 65 72 73 20 73 70 65 63 69 66 69 65 64 20 62 79 20 64 61 74 61 s.if.no.others.specified.by.data
86e0 20 73 6f 75 72 63 65 2e 00 60 60 77 72 69 74 65 5f 66 69 6c 65 73 60 60 20 2d 20 74 68 69 73 20 .source..``write_files``.-.this.
8700 6d 6f 64 75 6c 65 20 61 6c 6c 6f 77 73 20 74 6f 20 69 6e 73 65 72 74 20 61 6e 79 20 66 69 6c 65 module.allows.to.insert.any.file
8720 73 20 69 6e 74 6f 20 74 68 65 20 66 69 6c 65 73 79 73 74 65 6d 20 62 65 66 6f 72 65 20 74 68 65 s.into.the.filesystem.before.the
8740 20 66 69 72 73 74 20 62 6f 6f 74 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 2c 20 70 72 65 2d 67 65 .first.boot,.for.example,.pre-ge
8760 6e 65 72 61 74 65 64 20 65 6e 63 72 79 70 74 69 6f 6e 20 6b 65 79 73 2c 20 63 65 72 74 69 66 69 nerated.encryption.keys,.certifi
8780 63 61 74 65 73 2c 20 6f 72 20 65 76 65 6e 20 61 20 77 68 6f 6c 65 20 60 60 63 6f 6e 66 69 67 2e cates,.or.even.a.whole.``config.
87a0 62 6f 6f 74 60 60 20 66 69 6c 65 2e 20 54 68 65 20 66 6f 72 6d 61 74 20 69 73 20 64 65 73 63 72 boot``.file..The.format.is.descr
87c0 69 62 65 64 20 69 6e 20 74 68 65 20 63 6c 6f 75 64 69 6e 69 74 20 64 6f 63 75 6d 65 6e 74 61 74 ibed.in.the.cloudinit.documentat
87e0 69 6f 6e 20 60 43 6c 6f 75 64 2d 69 6e 69 74 2d 77 72 69 74 65 5f 66 69 6c 65 73 60 5f 2e 00 61 ion.`Cloud-init-write_files`_..a
8800 64 64 20 61 6e 20 69 6d 61 67 65 00 61 6e 73 69 62 6c 65 2e 63 66 67 00 63 6c 6f 75 64 2d 63 6f dd.an.image.ansible.cfg.cloud-co
8820 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 73 nfig.file.format.cloud-init.logs
8840 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 69 .to./var/log/cloud-init.log..Thi
8860 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 69 s.file.can.be.helpful.in.determi
8880 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 65 ning.why.the.configuration.varie
88a0 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 20 s.from.what.you.expect..You.can.
88c0 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 69 fetch.the.most.important.data.fi
88e0 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 77 ltering.output.for.``vyos``.keyw
8900 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 67 ord:.commands.txt.delete.an.imag
8920 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 32 e,.for.example.``1.3-rolling-202
8940 30 30 36 30 37 30 31 31 37 60 60 00 68 6f 73 74 73 00 69 64 5f 72 73 61 5f 64 6f 63 6b 65 72 2e 006070117``.hosts.id_rsa_docker.
8960 70 75 62 2e 20 4e 65 65 64 73 20 74 6f 20 64 65 63 6c 61 72 65 20 6f 6e 6c 79 20 70 75 62 6c 69 pub..Needs.to.declare.only.publi
8980 63 20 6b 65 79 20 65 78 61 63 74 6c 79 2e 00 69 66 20 79 6f 75 20 6a 75 73 74 20 77 61 6e 74 20 c.key.exactly..if.you.just.want.
89a0 74 68 65 20 56 61 6c 75 65 20 6f 66 20 61 20 6d 75 6c 74 69 2d 76 61 6c 75 65 64 20 6e 6f 64 65 the.Value.of.a.multi-valued.node
89c0 2c 20 75 73 65 20 74 68 65 20 60 60 72 65 74 75 72 6e 56 61 6c 75 65 73 60 60 20 6f 70 65 72 61 ,.use.the.``returnValues``.opera
89e0 74 69 6f 6e 2e 00 6d 61 69 6e 2e 79 6d 6c 00 72 31 31 2d 70 72 6f 78 79 2e 73 6c 73 20 49 6e 63 tion..main.yml.r11-proxy.sls.Inc
8a00 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 63 74 69 6e 67 20 ludes.parameters.for.connecting.
8a20 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 75 70 20 73 63 72 to.salt-proxy.minion.startup.scr
8a40 69 70 74 73 00 74 6f 70 2e 73 6c 73 00 ipts.top.sls.