Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Update default kernel to 5.10.51 #858

Merged
merged 1 commit into from
Jul 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"oci": "weaveworks/ignite:dev"
},
"kernel": {
"oci": "weaveworks/ignite-kernel:5.4.108",
"oci": "weaveworks/ignite-kernel:5.10.51",
"cmdLine": "console=ttyS0 reboot=k panic=1 pci=off ip=dhcp"
},
"cpus": 1,
Expand Down
4 changes: 2 additions & 2 deletions docs/cli/ignite/ignite_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Create a new VM without starting it

Create a new VM by combining the given image with a kernel. If no
kernel is given using the kernel flag (-k, --kernel-image), use the
default kernel (weaveworks/ignite-kernel:5.4.108).
default kernel (weaveworks/ignite-kernel:5.10.51).

Various configuration options can be set during creation by using
the flags for this command.
Expand Down Expand Up @@ -40,7 +40,7 @@ ignite create <OCI image> [flags]
-h, --help help for create
--id-prefix string Prefix string for system identifiers (default ignite)
--kernel-args string Set the command line for the kernel (default "console=ttyS0 reboot=k panic=1 pci=off ip=dhcp")
-k, --kernel-image oci-image Specify an OCI image containing the kernel at /boot/vmlinux and optionally, modules (default weaveworks/ignite-kernel:5.4.108)
-k, --kernel-image oci-image Specify an OCI image containing the kernel at /boot/vmlinux and optionally, modules (default weaveworks/ignite-kernel:5.10.51)
-l, --label stringArray Set a label (foo=bar)
--memory size Amount of RAM to allocate for the VM (default 512.0 MB)
-n, --name string Specify the name
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/ignite/ignite_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ignite run <OCI image> [flags]
--ignore-preflight-checks strings A list of checks whose errors will be shown as warnings. Example: 'BinaryInPath,Port,ExistingFile'. Value 'all' ignores errors from all checks.
-i, --interactive Attach to the VM after starting
--kernel-args string Set the command line for the kernel (default "console=ttyS0 reboot=k panic=1 pci=off ip=dhcp")
-k, --kernel-image oci-image Specify an OCI image containing the kernel at /boot/vmlinux and optionally, modules (default weaveworks/ignite-kernel:5.4.108)
-k, --kernel-image oci-image Specify an OCI image containing the kernel at /boot/vmlinux and optionally, modules (default weaveworks/ignite-kernel:5.10.51)
-l, --label stringArray Set a label (foo=bar)
--memory size Amount of RAM to allocate for the VM (default 512.0 MB)
-n, --name string Specify the name
Expand Down
4 changes: 2 additions & 2 deletions docs/cli/ignite/ignite_vm_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Create a new VM without starting it

Create a new VM by combining the given image with a kernel. If no
kernel is given using the kernel flag (-k, --kernel-image), use the
default kernel (weaveworks/ignite-kernel:5.4.108).
default kernel (weaveworks/ignite-kernel:5.10.51).

Various configuration options can be set during creation by using
the flags for this command.
Expand Down Expand Up @@ -40,7 +40,7 @@ ignite vm create <OCI image> [flags]
-h, --help help for create
--id-prefix string Prefix string for system identifiers (default ignite)
--kernel-args string Set the command line for the kernel (default "console=ttyS0 reboot=k panic=1 pci=off ip=dhcp")
-k, --kernel-image oci-image Specify an OCI image containing the kernel at /boot/vmlinux and optionally, modules (default weaveworks/ignite-kernel:5.4.108)
-k, --kernel-image oci-image Specify an OCI image containing the kernel at /boot/vmlinux and optionally, modules (default weaveworks/ignite-kernel:5.10.51)
-l, --label stringArray Set a label (foo=bar)
--memory size Amount of RAM to allocate for the VM (default 512.0 MB)
-n, --name string Specify the name
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/ignite/ignite_vm_run.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ignite vm run <OCI image> [flags]
--ignore-preflight-checks strings A list of checks whose errors will be shown as warnings. Example: 'BinaryInPath,Port,ExistingFile'. Value 'all' ignores errors from all checks.
-i, --interactive Attach to the VM after starting
--kernel-args string Set the command line for the kernel (default "console=ttyS0 reboot=k panic=1 pci=off ip=dhcp")
-k, --kernel-image oci-image Specify an OCI image containing the kernel at /boot/vmlinux and optionally, modules (default weaveworks/ignite-kernel:5.4.108)
-k, --kernel-image oci-image Specify an OCI image containing the kernel at /boot/vmlinux and optionally, modules (default weaveworks/ignite-kernel:5.10.51)
-l, --label stringArray Set a label (foo=bar)
--memory size Amount of RAM to allocate for the VM (default 512.0 MB)
-n, --name string Specify the name
Expand Down
2 changes: 1 addition & 1 deletion docs/declarative-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
# Default: "console=ttyS0 reboot=k panic=1 pci=off ip=dhcp"
cmdLine: [string]
# Required, what OCI image to get the kernel binary (and optionally modules) from
# Default: weaveworks/ignite-kernel:5.4.108
# Default: weaveworks/ignite-kernel:5.10.51
oci: [OCI image reference]
sandbox:
# Optional, what OCI image to use as the ignite sandbox.
Expand Down
6 changes: 3 additions & 3 deletions docs/footloose.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ machines:
cpus: 2
memory: 1GB
diskSize: 5GB
kernel: "weaveworks/ignite-kernel:5.4.108"
kernel: "weaveworks/ignite-kernel:5.10.51"
```

This Footloose API object specifies an Ignite VM with 2 vCPUs, 1GB of RAM, `weaveworks/ignite-kernel:5.4.108` kernel and 5GB of disk.
This Footloose API object specifies an Ignite VM with 2 vCPUs, 1GB of RAM, `weaveworks/ignite-kernel:5.10.51` kernel and 5GB of disk.

Given that you have [Footloose](https://github.com/weaveworks/footloose#install) and [Ignite](installation.md) installed, and the above file
created as `footloose.yaml` in the current directory, you can run
Expand All @@ -67,7 +67,7 @@ SSH into the VM:

```console
$ footloose ssh vm0
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 5.4.108 x86_64)
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 5.10.51 x86_64)

* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Now in a new terminal/console:
# ignite ps
VM ID IMAGE KERNEL SIZE CPU
S MEMORY CREATED STATUS IPS PORTS NAME
rpfrdqxmffadvn6t weaveworks/ignite-ubuntu:latest weaveworks/ignite-kernel:5.4.108 1.2 GB 1 4
rpfrdqxmffadvn6t weaveworks/ignite-ubuntu:latest weaveworks/ignite-kernel:5.10.51 1.2 GB 1 4
56.0 MB 43m ago Up 39m 10.61.0.2 smoke-test
```

Expand Down
8 changes: 4 additions & 4 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,14 @@ If no error occured, your `VM` is now running.

Ignite currently manages three kinds of resources: `images`, `kernels` and `VMs`.
The `kernels` are quite transparent, and get automatically imported from the docker
image `weaveworks/ignite-kernel:5.4.108` by default (overridable during `create`).
image `weaveworks/ignite-kernel:5.10.51` by default (overridable during `create`).

To list the available `kernels`, enter:

```
# ignite kernels
KERNEL ID NAME CREATED SIZE VERSION
aefb459546315344 weaveworks/ignite-kernel:5.4.108 61m ago 49.0 MB 5.4.108
aefb459546315344 weaveworks/ignite-kernel:5.10.51 61m ago 49.0 MB 5.10.51
```

To list the imported `images`, enter:
Expand All @@ -191,7 +191,7 @@ And to list the running `VMs`, enter:
```
# ignite ps
VM ID IMAGE KERNEL CREATED SIZE CPUS MEMORY STATE IPS PORTS NAME
3c5fa9a18682741f weaveworks/ignite-ubuntu:latest weaveworks/ignite-kernel:5.4.108 63m ago 4.0 GB 2 1.0 GB Running 172.17.0.3 my-vm
3c5fa9a18682741f weaveworks/ignite-ubuntu:latest weaveworks/ignite-kernel:5.10.51 63m ago 4.0 GB 2 1.0 GB Running 172.17.0.3 my-vm
```

To list all `VMs` instead of just running ones, add the `-a` flag to `ps`.
Expand Down Expand Up @@ -235,7 +235,7 @@ To SSH into a `VM`, enter:

```console
# ignite ssh my-vm
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 5.4.108 x86_64)
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 5.10.51 x86_64)
...
root@3c5fa9a18682741f:~#
```
Expand Down
2 changes: 1 addition & 1 deletion e2e/multinet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
var (
multinetVM = "e2e-test-vm-multinet"
sanboxImage = "weaveworks/ignite:dev"
kernelImage = "weaveworks/ignite-kernel:5.4.108"
kernelImage = "weaveworks/ignite-kernel:5.10.51"
vmImage = "weaveworks/ignite-ubuntu"
)

Expand Down
2 changes: 1 addition & 1 deletion e2e/util/setup-private-registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ HTTP_ADDR="${BIND_IP}:5080"
HTTPS_ADDR="${BIND_IP}:5443"

OS_IMG="weaveworks/ignite-ubuntu:latest"
KERNEL_IMG="weaveworks/ignite-kernel:5.4.108"
KERNEL_IMG="weaveworks/ignite-kernel:5.10.51"
HTTP_LOCAL_OS_IMG="${HTTP_ADDR}/weaveworks/ignite-ubuntu:test"
HTTP_LOCAL_KERNEL_IMG="${HTTP_ADDR}/weaveworks/ignite-kernel:test"
HTTPS_LOCAL_OS_IMG="${HTTPS_ADDR}/weaveworks/ignite-ubuntu:test"
Expand Down
4 changes: 2 additions & 2 deletions pkg/apis/meta/v1alpha1/image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ func TestNewOCIImageRef(t *testing.T) {
err bool
}{
{
in: "weaveworks/ignite-kernel:5.4.108",
out: "weaveworks/ignite-kernel:5.4.108",
in: "weaveworks/ignite-kernel:5.10.51",
out: "weaveworks/ignite-kernel:5.10.51",
},
{
in: "centos",
Expand Down
2 changes: 1 addition & 1 deletion pkg/constants/kernel.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ const (
DEFAULT_KERNEL_IMAGE_NAME = "weaveworks/ignite-kernel"

// The kernel image tag to be used as the default
DEFAULT_KERNEL_IMAGE_TAG = "5.4.108"
DEFAULT_KERNEL_IMAGE_TAG = "5.10.51"
)