Commit Graph
100 Commits
Author SHA1 Message Date
Ian Gulliver aa48483c11 Try setting grub default by number 2016-05-11 19:53:12 +00:00
Ian Gulliver b3db72c040 Fix grub default setting 2016-05-11 19:45:06 +00:00
Ian Gulliver 11ebef15bd Update grub on forced version 2016-05-11 19:01:17 +00:00
Ian Gulliver 3e8bdb12da Typo 2016-05-11 18:56:59 +00:00
Ian Gulliver 388272c0f8 Add support for timestamps in reboot commands 2016-05-11 18:56:00 +00:00
Ian Gulliver 072dee1264 Send command to reboot into specific versions (still needs client support) 2016-05-11 18:48:38 +00:00
Ian Gulliver 6244e64b80 Fetch and store manifests. 2016-05-11 05:21:42 +00:00
Ian Gulliver c302ffd87a Don't delete the image that we're currently running, for safety. 2016-05-11 05:12:43 +00:00
Ian Gulliver 8b08a5cec6 Move GetVolumeID to common lib 2016-05-11 05:02:58 +00:00
Ian Gulliver 8fdd0370d3 Use liveness to control command button color. 2016-05-11 00:56:05 +00:00
Ian Gulliver da27533c68 Propagate liveness info. 2016-05-11 00:55:01 +00:00
Ian Gulliver 683252671f Implement reboot command 2016-05-11 00:33:53 +00:00
Ian Gulliver bd320caee8 Propagate commands 2016-05-11 00:32:29 +00:00
Ian Gulliver 4b98a66dd0 Reboot UI 2016-05-11 00:24:56 +00:00
Ian Gulliver 735cb4909f Send reboots, handle reconnecting 2016-05-11 00:24:44 +00:00
Ian Gulliver 504c6ab81a Column headers, allow volume ID length trimming. 2016-05-11 00:12:14 +00:00
Ian Gulliver bbf64c91de Initial working, read-only console. 2016-05-10 23:55:34 +00:00
Ian Gulliver 12793caa96 Add next_volume_id 2016-05-10 23:19:52 +00:00
Ian Gulliver f43e9913e9 More reliable cleanup 2016-05-10 20:55:50 +00:00
Ian Gulliver 927b851b06 Add todo 2016-05-10 19:12:51 +00:00
Ian Gulliver 1ab83d4a6b Get out of binary mode 2016-05-10 19:11:05 +00:00
Ian Gulliver b1f01ea143 Remove need for shell wrap complexity 2016-05-10 19:02:14 +00:00
Ian Gulliver a830264910 Fetch manifest at startup 2016-05-10 00:31:13 +00:00
Ian Gulliver 02b7f46dd2 Merge update_grub into client 2016-05-10 00:23:04 +00:00
Ian Gulliver 920ea089d0 Typo 2016-05-10 00:11:44 +00:00
Ian Gulliver edc6fbd56a Integrate fetcher into client.py 2016-05-10 00:01:06 +00:00
Ian Gulliver 3d96f0b322 Merge static web directories 2016-05-09 23:13:49 +00:00
Ian Gulliver 5d30642816 Run client.py instead of fetch_and_update on the client 2016-05-09 22:58:25 +00:00
Ian Gulliver a1a1a4e822 Add ws4py 2016-05-09 22:46:38 +00:00
Ian Gulliver b5e2d8d64c Write image_time in /etc/iconograph.json 2016-05-09 22:46:24 +00:00
Ian Gulliver 6ad79c672e Merge branch 'master' of github.com:robot-tools/iconograph 2016-05-09 15:41:54 -07:00
Ian Gulliver f62297b261 Make client report more data, use system config 2016-05-09 15:40:41 -07:00
Ian Gulliver 5c46707ea4 Add volume_id to /etc/iconograph 2016-05-09 21:59:54 +00:00
Ian Gulliver e165f7bd87 Fix syntax error 2016-05-09 21:01:50 +00:00
Ian Gulliver e5dd8820b8 Plumb volume ID through to grub menu 2016-05-09 20:40:38 +00:00
Ian Gulliver f2bd502cdc Carry volume ID from build_image through ISO to manifest 2016-05-09 20:31:33 +00:00
Ian Gulliver 29c310ba7b Add stylesheet 2016-05-05 00:36:22 +00:00
Ian Gulliver 6f0b747283 Get reports through to the browser. 2016-05-05 00:33:30 +00:00
Ian Gulliver 5f19a48872 Fix protocol from example 2016-05-05 00:18:39 +00:00
Ian Gulliver 0db92beda8 Serve static files 2016-05-05 00:15:45 +00:00
Ian Gulliver 1a6f1b55c1 Split master and slave websockets. Pass through reports. 2016-05-05 00:01:12 +00:00
Ian Gulliver 546f032b4f Split master and slave websocket endpoints 2016-05-04 23:39:40 +00:00
Ian Gulliver 5e4ce142c3 Add simple client. Print server received messages. 2016-05-04 04:13:31 +00:00
Ian Gulliver 4f4fc9a092 Rename to server.py 2016-05-04 03:50:40 +00:00
Ian Gulliver 81e6a46f3b Send image type list notification to new websocket 2016-05-04 00:02:12 +00:00
Ian Gulliver bcf2af221d Static list of image types. 2016-05-03 23:58:48 +00:00
Ian Gulliver 5e1a8861ea websocket handling, new_manifest events 2016-05-03 23:52:58 +00:00
Ian Gulliver c6e548b42c Fire inotify events on manifest changes 2016-05-03 23:19:39 +00:00
Ian Gulliver 97b2cfa3cb Serve static image files 2016-05-03 14:49:23 -07:00
Ian Gulliver 8bdda717d3 Split out handler class. 2016-05-03 14:09:45 -07:00
Ian Gulliver 26e533c195 Swap to gevent to prep for ws4py 2016-05-03 13:38:58 -07:00
Ian Gulliver 1767b93988 HTTPS server skeleton 2016-04-29 16:45:58 -07:00
Ian Gulliver 71fd9f8dba Bug 2016-04-29 19:16:48 +00:00
Ian Gulliver 70dd367261 Set shell, switch to passwordless sudo 2016-04-29 18:55:13 +00:00
Ian Gulliver 5fded8255e Module to create a user with optional sudo privs and authorized_keys 2016-04-29 17:58:03 +00:00
Ian Gulliver 09b56c1f67 Write icon config as json instead of shell. 2016-04-29 10:32:06 -07:00
Ian Gulliver 0cd91dbc7c Merge branch 'master' of github.com:robot-tools/iconograph 2016-04-25 11:52:39 -07:00
Ian Gulliver 94a2923a38 Newline at end of JSON 2016-04-25 11:52:21 -07:00
Ian Gulliver 5952adfd55 Add kernel arg passing support 2016-04-22 21:19:29 +00:00
Ian Gulliver 5de9a8d2c6 Support update_grub flags. 2016-04-22 21:11:58 +00:00
Ian Gulliver 45b03b1bc3 Drop the verbose flag. 2016-04-12 19:47:43 +00:00
Ian Gulliver 5a55f3bb27 Move openssh-server to its own module. Move the key onto the systemid device. 2016-04-12 05:00:04 +00:00
Ian Gulliver 9fb8b2bc70 Add utility to fetch and unpack tarballs securely from a server. 2016-04-08 21:47:49 -07:00
Ian Gulliver 0b2e6e6341 Re-use old hashes to speed up build_manifest 2016-04-09 00:06:49 +00:00
Ian Gulliver ddabe391c8 Boot to text. 2016-04-08 23:41:48 +00:00
Ian Gulliver fd656ab7f1 Unmount /proc before squashing 2016-04-08 23:33:42 +00:00
Ian Gulliver 3b8b1cc11e Mount /proc in the chroot, and provide more shell flags. 2016-04-08 22:51:37 +00:00
Ian Gulliver 22a27eb0bd Icon updates need python3-requests 2016-04-07 20:56:01 +00:00
Ian Gulliver 79961af5c2 Move off tty7, which is used by upstart 2016-04-07 20:48:32 +00:00
Ian Gulliver eb2a56d8e2 Rename certs 2016-04-07 20:42:20 +00:00
Ian Gulliver d8852ac1bb Correct docs 2016-04-07 20:39:50 +00:00
Ian Gulliver 22e072c19f Ignore zero-sized files 2016-04-07 20:29:48 +00:00
Ian Gulliver 63b0e393f7 Fix link 2016-04-06 23:07:50 -07:00
Ian Gulliver 004a58a483 Document certclient.py 2016-04-06 23:06:43 -07:00
Ian Gulliver a6e4ddb1a0 Document https flags, systemid. 2016-04-06 22:59:57 -07:00
Ian Gulliver 14f2be7e10 Support certs in fetcher 2016-04-06 22:52:48 -07:00
Ian Gulliver 1e1fff2e1c Only fetch certs if they don't exist at the target 2016-04-06 22:40:43 -07:00
Ian Gulliver 8eb18f1ccf Simplify directory tree 2016-04-06 22:38:57 -07:00
Ian Gulliver eebd3906fd Add certclient module for use with autoimage 2016-04-07 01:37:53 +00:00
Ian Gulliver e8b5cdea29 init style cleanup 2016-04-07 01:00:40 +00:00
Ian Gulliver ed9e49a0db Change some cert filenames. 2016-04-07 00:47:35 +00:00
Ian Gulliver 234d185976 Auto-resizing, and larger. 2016-04-07 00:26:14 +00:00
Ian Gulliver 427b694978 Web UI for generating systemid tags. 2016-04-06 23:38:44 +00:00
Ian Gulliver 5e7f9f0351 Required module 2016-04-06 23:37:40 +00:00
Ian Gulliver 8c8e9bd530 Untested autoimage HTTPS server/client cert support by copying into the image. 2016-04-05 21:55:44 -07:00
Ian Gulliver a49872f808 Add fetcher and imager support for HTTPS client/server auth. 2016-04-05 17:39:16 -07:00
Ian Gulliver 1086d58569 Syntax fix 2016-04-05 13:45:24 -07:00
Ian Gulliver 6dc14722f7 SystemID image building script 2016-04-05 13:22:01 -07:00
Ian Gulliver 2e6811618e Highlight image name 2016-04-05 13:21:52 -07:00
Ian Gulliver 43edcbff5d Write timestamp inside image, and make output filename easier to find. 2016-04-04 10:07:44 -07:00
Ian Gulliver 7df8bd62cf qemu booting 2016-04-02 15:55:12 -07:00
Ian Gulliver fff4e37f31 Force console-only 2016-04-02 15:04:58 -07:00
Ian Gulliver 93e6ac32fc Start of trying to get qemu booting working 2016-04-02 14:52:29 -07:00
Ian Gulliver 67a10b41f7 Text clarity 2016-04-02 13:52:22 -07:00
Ian Gulliver 5a30b3cff4 More description. 2016-04-02 13:50:48 -07:00
Ian Gulliver 9b5ff1dd38 Style 2016-04-02 13:45:15 -07:00
Ian Gulliver 03da2ca189 Diagram 2016-04-02 13:44:54 -07:00
Ian Gulliver f41c6f2183 Module API 2016-04-02 13:34:02 -07:00
Ian Gulliver eb52a90ca3 Style 2016-04-02 13:32:27 -07:00
Ian Gulliver f651ad2cad Style 2016-04-02 13:31:45 -07:00