Andrew Rynhard
6c33547452
fix: add slub_debug=P to ISO kernel args
...
This option is required by KSPP.
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-14 10:57:56 -07:00
Andrew Rynhard
792a35e8ae
fix: use talos.config instead of talos.userdata
...
The new kernel parameter talos.config should be used instead of
tallos.userdata.
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-14 10:44:59 -07:00
Andrew Rynhard
4ae8186107
feat: add configurator interface
...
This moves from translating a config into an internal config
representation, to using an interface. The idea is that an interface
gives us stronger compile time checks, and will prevent us from having to copy
from on struct to another. As long as a concrete type implements the
Configurator interface, it can be used to provide instructions to Talos.
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-10-04 07:53:09 -07:00
Andrew Rynhard
38690d72df
chore: remove unneeded packages
...
This removes packages we don't need anymore.
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-09-10 08:12:07 -07:00
Andrew Rynhard
0af1eba159
refactor: add more runtime modes
...
In order to DRY up all installation methods and mount methods, this PR
introduces a few more runtime modes. The modes are then used to
determine the strategy for creating and or mounting the paritions.
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-08-19 20:23:45 -07:00
Brad Beam
af47edf1ad
chore: Make losetup atomic during installation
...
This should fix a race conditions where two independent image creation steps
run `losetup -f` and discover the same 'next available' loopback device and
attempt to use it.
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-08-17 15:23:42 -05:00
Andrew Rynhard
6852fa969f
chore: create raw image as sparse file
...
This change reduces the size of raw disk significantly by creating it as
a sparse file.
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-25 11:28:07 -07:00
Andrew Rynhard
0ec17e4169
feat: run rootfs from squashfs
...
This change moves the rootfs to a squashfs image.
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-07-25 08:38:31 -07:00
Brad Beam
e9482a4041
fix: Fix integration of extra kernel args
...
Switch from `StringSliceVar` to `StringArrayVar` to maintain commas
in kernel args.
Update entrypoint script to allow specifying extra kernel args.
Remove default console settings in kernel config.
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
2019-07-16 14:38:55 -05:00
Andrew Rynhard
18a1536b01
feat: use osctl in installer ( #654 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-15 16:14:30 -07:00
Andrew Rynhard
3c52f5e686
feat: add support for UEFI ( #642 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-12 10:11:33 -07:00
Andrew Rynhard
4a0c4d84f3
chore: fix creation of syslinux config file ( #639 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-10 07:54:35 -07:00
Andrew Rynhard
64c48353e2
feat: add ability to create multiple entries in extlinux.conf ( #636 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-10 04:50:26 -07:00
Andrew Rynhard
86e17c91fb
feat: update partition layout to accomodate upgrades ( #621 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-07 13:31:34 -07:00
Andrew Rynhard
67a8343590
chore: build iso image ( #616 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-05 13:13:01 -07:00
Andrew Rynhard
00eb0658aa
feat: add support for ISO based installations ( #606 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-05-02 21:30:06 -07:00
Andrew Rynhard
e1ee8191ff
chore: add release target to Makefile ( #490 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-04 21:34:58 -07:00
Andrew Rynhard
6b9fa1762e
chore: remove 'Autonomy' from os-release ( #483 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-03 21:54:31 -07:00
Andrew Rynhard
e18b5086a9
chore: update org to new name ( #480 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-04-03 18:29:21 -07:00
Andrew Rynhard
83ed177fed
chore: create images that consider the size of /var ( #441 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-03-04 17:55:00 -08:00
Spencer Smith
ee232b8f9a
feat: add DHCP client ( #427 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-02-27 07:58:37 -08:00
Andrew Rynhard
1f3192e296
chore: output a raw image ( #306 )
...
Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2019-01-14 16:00:45 -08:00
Andrew Rynhard
72eb1b34f5
chore: use buildkit for builds ( #295 )
2018-12-19 22:22:05 -08:00