Justin Cormack
9f8628769e
Merge pull request #2395 from justincormack/rootdirperm
...
Fix root directory permissions with overlay
2017-08-10 16:46:12 +01:00
Justin Cormack
7a549fda07
Merge pull request #141 from justincormack/update-docker
...
Update docker examples
2017-08-10 15:05:22 +01:00
Justin Cormack
13b1eb7d0c
Do not use rm as may not be in root filesystem
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-10 14:59:32 +01:00
Justin Cormack
2a097f543d
update xeamples to new hashes
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-10 14:58:50 +01:00
Justin Cormack
0e65f04ab4
update init for containers for recent changes
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-10 14:57:53 +01:00
Justin Cormack
fae7a76009
update runc and containerd images
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-10 14:33:21 +01:00
Justin Cormack
c42ddc0af8
Fix root directory permissions with overlay
...
At least when running under Docker this seems to cause some issues,
possibly also explains some other oddnesses.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-10 14:22:12 +01:00
Justin Cormack
d2b7782419
Merge pull request #2393 from justincormack/kube-iso
...
Use ISO for kubernetes
2017-08-10 11:17:27 +01:00
Justin Cormack
680fafd705
Merge pull request #140 from justincormack/device-cgroup
...
Add Cgroup resource limits into Yaml spec
2017-08-10 11:16:41 +01:00
Justin Cormack
13a1ffdd44
Add Cgroup resource limits into Yaml spec
...
This adds all the cgroup restrictions into the spec.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-09 16:39:10 +01:00
Rolf Neugebauer
1a9d736f75
Merge pull request #2392 from rn/p2
...
Better kernel cmdline handling on packet.net
2017-08-09 14:20:55 +01:00
Rolf Neugebauer
a885eb3304
cmd: Append the kernel command line args when booting on Packet
...
The iPXE needs the hard coded value of 'kernel-params' but
we should append the kernel command line from the YAML in case
it sets other parameters.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-09 13:18:41 +01:00
Justin Cormack
56fe83292b
Use ISOs to boot in the Kubernetes example
...
Because Kubernetes is 1.5GB, ISO makes sense as the files do not
take up memory, so you can boot a 1GB machine rather than a 4GB one.
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-09 13:15:42 +01:00
Justin Cormack
ef3aa754d3
Merge pull request #2391 from justincormack/hyperkit-dir-check
...
Robustify ISO/kernel detection on hyperkit
2017-08-09 13:05:52 +01:00
Rolf Neugebauer
934d818bf1
cmd: Restructure iPXE script code for packet backend
...
Break it into multiple instructions. The single line was
super hard to parse.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-09 12:19:31 +01:00
Justin Cormack
34dc65561b
Robustify ISO/kernel detection on hyperkit
...
Much easier to follow and more correct; also ignores directories.
fix #2385
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-09 12:00:00 +01:00
Rolf Neugebauer
ec2d7a1c94
Merge pull request #2386 from arm64b/kernel-4.4.x-bringup-fixing-aarch64
...
arm64: kernel 4.4.x bringup enablement
2017-08-09 11:27:17 +01:00
Dennis Chen
7f313870a9
arm64: kernel 4.4.x bringup enablement
...
Enable DEVPTS_MULTIPLE_INSTANCES in kernel configuration file
to avoid the devpts mounting hang issue during bootup when
running LinuxKit.
Signed-off-by: Dennis Chen <dennis.chen@arm.com>
2017-08-09 02:56:36 +00:00
Riyaz Faizullabhoy
bbf8741002
Merge pull request #2383 from rn/lcow-up
...
Update LCOW
2017-08-08 10:12:36 -07:00
Rolf Neugebauer
f2b732d8a1
Update lcow blueprint
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-08 18:01:46 +01:00
Rolf Neugebauer
46d1e568cc
pkg/init-lcow: Update opengcs
...
This has a number of fixes/improvements
- console resize
- better error handling (pass stacktrace/errors back to docker
- fix for container images which have a resolve.conf file
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-08 17:53:27 +01:00
Justin Cormack
95cc1a4c46
Merge pull request #2381 from rn/kup
...
Update kernels to 4.9.41/4.4.80
2017-08-08 17:51:02 +01:00
Rolf Neugebauer
9beaf45a07
Update YAML files with new kernels
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-08 17:46:22 +01:00
Rolf Neugebauer
4f5582edf2
kernel: Update to 4.9.41/4.4.80
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-08 17:46:21 +01:00
Justin Cormack
8cdd1223f5
Merge pull request #2380 from dave-tucker/extend-fixes
...
Cleanup the extend test cases
2017-08-08 17:43:58 +01:00
Ian Campbell
431c8ebdd7
kubernetes: Assume moby and linuxkit tools are in $PATH
...
Signed-off-by: Ian Campbell <ijc@docker.com>
2017-08-08 16:25:37 +01:00
Dave Tucker
6aed51ca5c
tests: Remove hardcoded sizes from extend tests
...
In order to update these tests it required first running df -h to obtain
the new disk size and then adding that value to check.sh
This commit replaces the hardcoded values with a regex that checks that
the filesystem is somewhere between 400-599MB in size. Before being
extended this would have been somewhere in the region of 200-300MB.
Signed-off-by: Dave Tucker <dt@docker.com>
2017-08-08 13:47:32 +01:00
Dave Tucker
e17a12219a
tests: Remove docker dependency from extend tests
...
This commit removes the dependency on Docker by using raw disks and
appending from /dev/zero to extend them once initially formatted.
Additionally, the tests now use unique ${NAME} variables
Signed-off-by: Dave Tucker <dt@docker.com>
2017-08-08 12:43:50 +01:00
Dave Tucker
9a562a3b8c
tests: Fix ordering in package directory and add a note
...
Signed-off-by: Dave Tucker <dt@docker.com>
2017-08-08 11:58:21 +01:00
Rolf Neugebauer
3b68e087f4
Merge pull request #2376 from rn/packet
...
Always PXE boot and add serial console to packet driver
2017-08-08 08:57:15 +01:00
Rolf Neugebauer
df7c79fa8f
docs: Update packet documentation
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-07 23:08:09 +01:00
Rolf Neugebauer
0e3ca695d0
Merge pull request #2378 from TheOriginalAlex/megaraid
...
Installed the MEGARAID_SAS driver as a kernel module
2017-08-07 22:20:59 +01:00
Rolf Neugebauer
1c29f89b0e
Merge pull request #2377 from rn/docs
...
docs: Clarify restrictions for packages builds/signing
2017-08-07 22:19:26 +01:00
Rolf Neugebauer
04a689fcc4
cmd: Enable console access for packet.net
...
On 'linuxkit run packet' ssh into the SOS for the newly created
machine. This requires that you have set up your ssh keys and
have at least once logged into the ssh so that the host keys
are present in the 'known_hosts' file.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-07 21:35:41 +01:00
Rolf Neugebauer
148b51347f
vendor: add ssh agent package
...
This is needed for ssh into the serial console on packet.net
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-07 21:35:41 +01:00
Rolf Neugebauer
c804ff0dc1
cmd: Enable always-pxe for packet.net
...
This option configures the machine to always PXE boot. By
default it would only PXE boot for the first time.
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-07 21:35:41 +01:00
Rolf Neugebauer
bdc06ee30a
cmd: Add packet.net env variable names to help message
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-07 21:35:41 +01:00
Rolf Neugebauer
71a4cd2f3c
cmd: Prefix packet.net host name with username
...
If a packet account is shared between users, this makes it
clearer who created the machine.
Also, switch "moby" to "linuxkit"
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-07 21:35:41 +01:00
Rolf Neugebauer
a837312cc7
cmd: Switch packet.net API to github.com/bzub/packngo
...
This fork has initial support for always-pxe and was
suggested to use be used as an interim solution here:
https://github.com/packethost/packngo/issues/22#issuecomment-319973502
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-07 21:35:41 +01:00
Alex Johnson
97b91cf5f2
Installed the MEGARAID_SAS driver as a kernel module to support the RAID controller in Packet.net type 2 servers
...
Fixes #1245
Signed-off-by: Alex Johnson <hello@alex-johnson.net>
2017-08-07 13:09:02 -07:00
Rolf Neugebauer
6c6a89f5fa
docs: Clarify restrictions for packages builds/signing
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-08-07 20:36:25 +01:00
Justin Cormack
e61794a344
Merge pull request #2365 from deitch/test-dev-existence-getty
...
Test dev existence getty
2017-08-07 20:32:39 +01:00
Justin Cormack
3321e713de
Merge pull request #2363 from justincormack/efi-tar
...
Put full filesystem on EFI ISO
2017-08-07 19:10:39 +01:00
Justin Cormack
d64db8d2a7
Update Moby tool to use this image for unpacked EFI ISO
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-07 17:46:12 +01:00
Justin Cormack
c2b081ed8a
Merge pull request #137 from justincormack/efi-tar
...
Output EFI ISO as for BIOS ISO with filesystem on.
2017-08-07 17:45:26 +01:00
Justin Cormack
7b36db8358
Output EFI ISO as for BIOS ISO with filesystem on.
...
The image is multi-arch and should work on arm64 as it has no boot loader...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-07 16:44:13 +01:00
Rolf Neugebauer
ede84199fc
Merge pull request #2371 from deitch/image-cleanup-script
...
Add script to clean up older images
2017-08-07 16:16:28 +01:00
Justin Cormack
338459907d
Merge pull request #2372 from justincormack/suid-init
...
Do an extra chmod after chown
2017-08-07 16:02:06 +01:00
Justin Cormack
73b516f09b
Merge pull request #2302 from dave-tucker/mdgcp
...
linuxkit: Better GCP disk handling
2017-08-07 16:01:53 +01:00
Justin Cormack
9e26ffbc6c
update init hashes
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2017-08-07 15:04:42 +01:00