Skip to content

Commit

Permalink
Add pending Ubuntu Server 24.04 LTS images
Browse files Browse the repository at this point in the history
  • Loading branch information
gusztavvargadr committed May 3, 2024
1 parent d8df31d commit 178c33c
Show file tree
Hide file tree
Showing 12 changed files with 86 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pr: none
resources:
pipelines:
- pipeline: source
source: ubuntu-server.2204-lts.hyperv
source: ubuntu-server.2404-lts.hyperv

stages:
- template: ../../stages.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pr: none
resources:
pipelines:
- pipeline: source
source: ubuntu-server.2204-lts.virtualbox
source: ubuntu-server.2404-lts.virtualbox

stages:
- template: ../../stages.yml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pr: none
resources:
pipelines:
- pipeline: source
source: ubuntu-server.2204-lts.vmware
source: ubuntu-server.2404-lts.vmware

stages:
- template: ../../stages.yml
Expand Down
14 changes: 14 additions & 0 deletions .azure-pipelines/kitchen-ubuntu/2404/hyperv.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
trigger: none
pr: none

resources:
pipelines:
- pipeline: source
source: ubuntu-server.2404-lts.hyperv

stages:
- template: ../../stages.yml
parameters:
sample: kitchen-ubuntu
image: "2404"
provider: hyperv
14 changes: 14 additions & 0 deletions .azure-pipelines/kitchen-ubuntu/2404/virtualbox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
trigger: none
pr: none

resources:
pipelines:
- pipeline: source
source: ubuntu-server.2404-lts.virtualbox

stages:
- template: ../../stages.yml
parameters:
sample: kitchen-ubuntu
image: "2404"
provider: virtualbox
14 changes: 14 additions & 0 deletions .azure-pipelines/kitchen-ubuntu/2404/vmware.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
trigger: none
pr: none

resources:
pipelines:
- pipeline: source
source: ubuntu-server.2404-lts.vmware

stages:
- template: ../../stages.yml
parameters:
sample: kitchen-ubuntu
image: "2404"
provider: vmware
2 changes: 1 addition & 1 deletion samples/docker-linux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ See the links below for the details of the available images:

The template has the following settings:

- [**Ubuntu Server 22.04 LTS**](../ubuntu-server/README.md#2204-lts)
- [**Ubuntu Server 24.04 LTS**](../ubuntu-server/README.md#2404-lts)
- [**Docker Engine**](https://docs.docker.com/engine/)
4 changes: 2 additions & 2 deletions samples/docker-linux/images.pkrvars.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ images = {
"community-ubuntu-server" = {
core = {
image_description = "Docker Community on Ubuntu Server"
image_version = "2600.2204"
image_version = "2600.2404"
}

native = {
source_image = "ubuntu-server/2204-lts"
source_image = "ubuntu-server/2404-lts"
}

vagrant = {
Expand Down
10 changes: 10 additions & 0 deletions samples/kitchen-ubuntu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,18 @@ This folder contains Packer templates for building `Kitchen Ubuntu` images.

See the links below for the details of the available images:

- [2404](#2404)
- [2204](#2204)

## 2404

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/kitchen-ubuntu-2404)

The template has the following settings:

- [**Ubuntu Server 24.04 LTS**](../ubuntu-server/README.md#2404-lts)
- [**Chef Infra Client**](https://docs.chef.io/chef_client_overview/)

## 2204

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/kitchen-ubuntu-2204)
Expand Down
1 change: 1 addition & 0 deletions samples/kitchen-ubuntu/Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
load "#{File.dirname(__FILE__)}/../core.Vagrantfile"

Vagrant.configure("2") do |config|
config_vm_define config, "2404", "kitchen-ubuntu-2404"
config_vm_define config, "2204", "kitchen-ubuntu-2204"

config.vm.provision "shell", inline: <<-EOH
Expand Down
12 changes: 12 additions & 0 deletions samples/kitchen-ubuntu/images.pkrvars.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
images = {
"2404" = {
core = {
image_description = "Test Kitchen target for ubuntu-2404"
image_version = "2404.0"
}

native = {
source_image = "ubuntu-server/2404-lts"
chef_keep = "true"
}
}

"2204" = {
core = {
image_description = "Test Kitchen target for ubuntu-2204"
Expand Down
16 changes: 15 additions & 1 deletion samples/ubuntu-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,26 @@ This folder contains Packer templates for building `Ubuntu Server` images.

See the links below for the details of the available images:

- [24.04 LTS](#2404-lts)
- [22.04 LTS](#2204-lts)
- [20.04 LTS](#2004-lts)

## 24.04 LTS

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-server-2404-lts) | [Vagrant alias](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-server)

The template has the following settings:

- **Ubuntu Server 24.04 LTS**
- OpenSSH Server
- **Vagrant**
- User `vagrant` with password `vagrant` and Vagrant's insecure key
- 2 vCPUs
- 2 GB RAM

## 22.04 LTS

[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-server-2204-lts) | [Vagrant alias](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-server)
[Vagrant box](https://app.vagrantup.com/gusztavvargadr/boxes/ubuntu-server-2204-lts)

The template has the following settings:

Expand Down

0 comments on commit 178c33c

Please sign in to comment.