|
47 | 47 | "id": "639b5105-cae7-470d-902b-e7bfebe7219f", |
48 | 48 | "metadata": {}, |
49 | 49 | "source": [ |
50 | | - "### Tailscale Client Installation on a Ubuntu/Debian Linux Machine {.linux_install}\n", |
| 50 | + "### Tailscale Client Installation on a Ubuntu/Debian Linux Machine\n", |
51 | 51 | "\n", |
52 | 52 | "```console\n", |
53 | 53 | "curl -fsSL https://tailscale.com/install.sh | sh\n", |
|
80 | 80 | "name": "stdout", |
81 | 81 | "output_type": "stream", |
82 | 82 | "text": [ |
83 | | - "Lines in install script: 626\n" |
| 83 | + "Lines in install script: 627\n" |
84 | 84 | ] |
85 | 85 | } |
86 | 86 | ], |
|
493 | 493 | "\t\t\t\tVERSION=\"\" # rolling release\n", |
494 | 494 | "\t\t\t\tPACKAGETYPE=\"pacman\"\n", |
495 | 495 | "\t\t\t\t;;\n", |
496 | | - "\t\t\tmanjaro|manjaro-arm)\n", |
| 496 | + "\t\t\tmanjaro|manjaro-arm|biglinux)\n", |
497 | 497 | "\t\t\t\tOS=\"manjaro\"\n", |
498 | 498 | "\t\t\t\tVERSION=\"\" # rolling release\n", |
499 | 499 | "\t\t\t\tPACKAGETYPE=\"pacman\"\n", |
|
829 | 829 | "\t\t\t;;\n", |
830 | 830 | "\t\tfreebsd)\n", |
831 | 831 | "\t\t\tif [ \"$VERSION\" != \"12\" ] && \\\n", |
832 | | - "\t\t\t [ \"$VERSION\" != \"13\" ]\n", |
| 832 | + "\t\t\t [ \"$VERSION\" != \"13\" ] && \\\n", |
| 833 | + "\t\t\t [ \"$VERSION\" != \"14\" ]\n", |
833 | 834 | "\t\t\tthen\n", |
834 | 835 | "\t\t\t\tOS_UNSUPPORTED=1\n", |
835 | 836 | "\t\t\tfi\n", |
|
882 | 883 | "\t\telse\n", |
883 | 884 | "\t\t\techo \"No /etc/os-release\"\n", |
884 | 885 | "\t\tfi\n", |
885 | | - "\t\texit 1\n", |
886 | | - "\tfi\n" |
| 886 | + "\t\texit 1\n" |
887 | 887 | ] |
888 | 888 | } |
889 | 889 | ], |
|
916 | 916 | "name": "stdout", |
917 | 917 | "output_type": "stream", |
918 | 918 | "text": [ |
| 919 | + "\n", |
919 | 920 | "\t# Step 3: work out if we can run privileged commands, and if so,\n", |
920 | 921 | "\t# how.\n", |
921 | 922 | "\tCAN_ROOT=\n", |
|
934 | 935 | "\t\techo \"This installer needs to run commands as root.\"\n", |
935 | 936 | "\t\techo \"We tried looking for 'sudo' and 'doas', but couldn't find them.\"\n", |
936 | 937 | "\t\techo \"Either re-run this script as root, or set up sudo/doas.\"\n", |
937 | | - "\t\texit 1\n", |
938 | | - "\tfi\n" |
| 938 | + "\t\texit 1\n" |
939 | 939 | ] |
940 | 940 | } |
941 | 941 | ], |
|
1038 | 1038 | "name": "stdout", |
1039 | 1039 | "output_type": "stream", |
1040 | 1040 | "text": [ |
| 1041 | + "\n", |
1041 | 1042 | "\t# Step 4: run the installation.\n", |
1042 | 1043 | "\tOSVERSION=\"$OS\"\n", |
1043 | 1044 | "\t[ \"$VERSION\" != \"\" ] && OSVERSION=\"$OSVERSION $VERSION\"\n", |
|
1142 | 1143 | "\t\t\t;;\n", |
1143 | 1144 | "\t\tpkg)\n", |
1144 | 1145 | "\t\t\tset -x\n", |
1145 | | - "\t\t\t$SUDO pkg install tailscale\n", |
| 1146 | + "\t\t\t$SUDO pkg install --yes tailscale\n", |
1146 | 1147 | "\t\t\t$SUDO service tailscaled enable\n", |
1147 | 1148 | "\t\t\t$SUDO service tailscaled start\n", |
1148 | 1149 | "\t\t\tset +x\n", |
|
1180 | 1181 | "\t\t*)\n", |
1181 | 1182 | "\t\t\techo \"unexpected: unknown package type $PACKAGETYPE\"\n", |
1182 | 1183 | "\t\t\texit 1\n", |
1183 | | - "\t\t\t;;\n", |
1184 | | - "\tesac\n" |
| 1184 | + "\t\t\t;;\n" |
1185 | 1185 | ] |
1186 | 1186 | } |
1187 | 1187 | ], |
|
1263 | 1263 | "\n", |
1264 | 1264 | "\n", |
1265 | 1265 | "Modern keyring gpg key (compressed, binary format)\n", |
1266 | | - "Pʌ�g\u0006�|\u0004Bb���e-�A�d��<�\u0005�\u001c", |
1267 | | - "�\u001afCJͳpc/���4���0� ��N<\u0012�Q��Fk&��\u001f���j�=,�70�� ����%�P��\u0006*T1�\u001f�\u0000^.C_�w/v\u0018x��#\"�7� `�k�?�F�^CA�.�\u0016����\u0003\u001c", |
1268 | | - "�^�\\4�Dm\u000f��a��\u001f�'y��^�ɫo�z;\t\u0010^ꐦ�\u0001��Hȵ�嚍�\u0000s_�R�m#(҆��Q�W\u0013N�7U���\u0015'pP��<�\u0010�|\u0001#\"�aiU�\u0001�\u0011d�ݕ{\u001c", |
1269 | | - "���\u0018\u0003Sλ(�[H���i�}x*ӟ6)�kL��\u0005tă�L5���M��\u0011�F7�3�#����^a!)�m� =\u0019!��\\jR��e�G�w7Lj���.�b��^��w�\n", |
1270 | | - "$�j\"\\�\n", |
1271 | | - "�h�%\u0014�nj�����H?\f", |
1272 | | - "��u���*㚳���zߕC�\n", |
1273 | | - "-=g2���\u0007�&/}���ňlvt�\u0004tِ����Ӗ��{�� J=\u0000\u0011\u0001\u0000\u0001�DTailscale Inc. (Package repository signing key) <[email protected]>�\u0002N\u0004\u0013\u00008\u0016!\u0004%�����8!�<\n", |
1274 | | - "yE��2�Xh\u0005\u0002^T��\u0002\u001b\u0003\u0005\u000b", |
1275 | | - "\u0007\u0002\u0006\u0015\n", |
1276 | | - "\u000b", |
1277 | | - "\u0002\u0004\u0016\u0002\u0003\u0001\u0002\u001e", |
1278 | | - "\u0001\u0002\u0017�\u0000\n", |
1279 | | - "\u0004^T��\u0001\u0010\u0000�H��x]�X<f�\u001e", |
1280 | | - "�0��fm�r���`�\u0002�䂡\f", |
1281 | | - "\u0003���5ej\u0013W�\u000f\u001b�l\f", |
1282 | | - "�PG��k��(�\u0011j��E<��)���N�\u0004��+7��\u0013�J�\u0015\u000e\tDl��\u0015�\u001bE��/��Xn!�\u0015��^�2�v,\u000fe��||L>��\u0011���v�|��d'$UK'b6�\u0003�x�\f", |
1283 | | - "/z�\u001be�z$.Rl2�M͒\u0013����\u0004\u0010�*���\u000b", |
1284 | | - "N\u001d", |
1285 | | - "��\u0017#�G�rGST�\u00057�.�\u0005��\u0014�ɥ\u0013���5�X9��4\u000f�\u0007\u0013k3ل��o���a7V�\f", |
1286 | | - "�Jdݢ���գ\u0000jIZ>@d!�\u001d", |
1287 | | - "�k�kU���ܫBBa�F$u�3\u001b��]H~!~a�a��xm�+{�s���j��CU��D�\u00191�=���r��\u0002�\f", |
1288 | | - "��k����\u001e", |
1289 | | - "}4�Ԃ\u0002�P\"k���\u0002\n", |
1290 | | - "!#&\u0013Q�Y\"C�`\u0016�\u00067�Va�H�\u0012�K�����}��8x%��P:�ȰT�U���\"�f��x���b����2Pr�U\u0006�\u001456x(��Ĺ�k�X��(�!I�AO\u0007�Y��\u001d", |
1291 | | - "����\u0004Jʀ�\"�3���\n", |
1292 | | - "$L�P\u0006�\u0004\u000e0�_��ܸ��>A\n", |
1293 | | - "�\u0002�w�g\u000b", |
1294 | | - "��H�۷�jK$��\u0014��f�2kb��@�T�X�l\u001a\u0006�Ņ�i%{�o�y�\u0019%�@\u0014�q٘\u001f!ϸ�+��v\u0000�5X,\u0007Ť\n", |
1295 | | - "j�\t�%��X�g��\u0002�;]_ֹ1\u000e1e�L�g�ه��J�\u0019A�2F����� h '��T\u0000\u0010�j�O�/Y�V�<��\u0002�\u00157��Q�\u001e", |
1296 | | - "\u0000}'#\u0000\u0011\u0001\u0000\u0001�\u00026\u0004\u0018\u0000 \u0016!\u0004%�����8!�<\n", |
1297 | | - "yE��2�Xh\u0005\u0002^T��\u0002\u001b\f", |
1298 | | - "\u0000\n", |
1299 | | - "�\u0014�\tMx�G<q�\u0007��\u000e/r.y�v�g\u0018��\f", |
1300 | | - "1v\n", |
1301 | | - "��,1\u0005\u000em�V�˲m&�Jb\u0016\u0015S5\u001a��2\u001e", |
1302 | | - "Qc\u0003\u001an�ס�pRLW�\u0000#*�v�x��(]�1�4\u0004�\u000e��\u001c", |
1303 | | - "�\u0010{\f", |
1304 | | - "~K\u0014��6��\u001f8d9�����\u000f���~ᥳ�e��S�uT=��g�3\u0005��z� �j��\u0000P����{�\u0004s���\u0002\u0000Ӫ��\u0016C�&��\u0000�ԛ_VO3���g\u001f�z��'�%���\u0001ފ8]7T��m\u0005dQ��0n\u0005�F�\"w��\u001e", |
1305 | | - "/^c���pa�\u001d", |
1306 | | - "�E\u001d", |
1307 | | - "�y���X��\n", |
1308 | | - "�c(���wc\u0013�\f", |
1309 | | - "\u0016��*���0��3BLK�S\u001c", |
1310 | | - "d7R�ur�� �\u001a�3�\u001c", |
1311 | | - "!\u00159�-9���\u0001U�\u001b���hL6ɭ��[*�z��锅�-#��G�]\u0016�Г�\u0006\tq\u001d", |
1312 | | - "��3��g�\u001a\u000e��M\\[q�/$�gɘ��}J�ba��\u001b0{L�,\u0013\n", |
1313 | | - "�\n", |
| 1266 | + "Omitted due to being unparsable binary\n", |
1314 | 1267 | "\n", |
1315 | 1268 | "# Tailscale packages for ubuntu jammy\n", |
1316 | 1269 | "deb [signed-by=/usr/share/keyrings/tailscale-archive-keyring.gpg] https://pkgs.tailscale.com/stable/ubuntu jammy main\n", |
|
1344 | 1297 | "keyring_keyfile_resp = requests.get(keyring_keyfile_url)\n", |
1345 | 1298 | "keyring_keyfile_resp.raise_for_status()\n", |
1346 | 1299 | "print(f\"\\n\\nModern keyring gpg key (compressed, binary format)\")\n", |
1347 | | - "print(keyring_keyfile_resp.text)\n", |
| 1300 | + "print(\"Omitted due to being unparsable binary\")\n", |
| 1301 | + "# print(keyring_keyfile_resp.text)\n", |
1348 | 1302 | "\n", |
1349 | 1303 | "# $CURL \"https://pkgs.tailscale.com/$TRACK/$OS/$VERSION.tailscale-keyring.list\" | $SUDO tee /etc/apt/sources.list.d/tailscale.list\n", |
1350 | 1304 | "keyring_pkg_repo_url = f\"https://pkgs.tailscale.com/{track}/{os}/{version}.tailscale-keyring.list\"\n", |
|
0 commit comments