Skip to content

Commit e4833aa

Browse files
committed
docs: [#10] update all Ubuntu version references from 22.04 to 24.04
- Update cloud-init configuration to reference Ubuntu 24.04 LTS - Update documentation across infrastructure and guides - Update Makefile to reference ubuntu-24.04-base.qcow2 image - Update terraform.tfvars.example with correct Ubuntu 24.04 image URL - Replace jammy (22.04) URL with noble (24.04) release URL - Ensure consistency across all documentation and configuration files All changes maintain backward compatibility and follow existing patterns. Linting validation passed for all modified files.
1 parent 3a3746c commit e4833aa

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ clean-and-fix: ## Clean up all VMs and fix libvirt permissions
182182
@echo "2. Removing OpenTofu state:"
183183
@cd $(TERRAFORM_DIR) && rm -f terraform.tfstate terraform.tfstate.backup .terraform.lock.hcl 2>/dev/null || true
184184
@echo "3. Cleaning libvirt images:"
185-
@sudo rm -f /var/lib/libvirt/images/torrust-tracker-demo* /var/lib/libvirt/images/ubuntu-22.04-base.qcow2 2>/dev/null || true
185+
@sudo rm -f /var/lib/libvirt/images/torrust-tracker-demo* /var/lib/libvirt/images/ubuntu-24.04-base.qcow2 2>/dev/null || true
186186
@echo "4. Fixing libvirt setup:"
187187
@$(MAKE) fix-libvirt
188188
@echo "✓ Clean up complete. You can now run 'make apply' safely."

docs/guides/integration-testing-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ time make apply
249249
**Expected During Deployment**:
250250

251251
1. Libvirt permissions check and fixes
252-
2. Download of Ubuntu 22.04 cloud image (~600MB)
252+
2. Download of Ubuntu 24.04 cloud image (~600MB)
253253
3. VM disk creation
254254
4. Cloud-init ISO creation
255255
5. VM startup

infrastructure/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ make destroy
8181
Key features:
8282

8383
- Uses KVM/libvirt provider for local virtualization
84-
- Downloads Ubuntu 22.04 cloud image automatically
84+
- Downloads Ubuntu 24.04 cloud image automatically
8585
- Configures VM with appropriate resources
8686
- Applies cloud-init configuration during boot
8787

@@ -152,7 +152,7 @@ make test-syntax
152152

153153
### Default Configuration
154154

155-
- **OS**: Ubuntu 22.04 LTS
155+
- **OS**: Ubuntu 24.04 LTS
156156
- **RAM**: 2GB
157157
- **CPU**: 2 cores
158158
- **Disk**: 20GB

infrastructure/cloud-init/user-data.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ final_message: |
169169
Torrust Tracker Demo VM setup completed!
170170

171171
System Information:
172-
- OS: Ubuntu 22.04 LTS
172+
- OS: Ubuntu 24.04 LTS
173173
- User: torrust (with sudo privileges and password login)
174174
- Docker: Installed and configured
175175
- Firewall: UFW enabled with proper SSH rules

infrastructure/docs/bugs/001-ssh-authentication-failure/SSH_BUG_SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Since all individual components work, we need to investigate:
171171

172172
## Technical Details
173173

174-
- **VM Environment**: libvirt/KVM with Ubuntu 22.04 cloud image
174+
- **VM Environment**: libvirt/KVM with Ubuntu 24.04 cloud image
175175
- **SSH Configuration**: Both key and password authentication enabled
176176
- **Network**: UFW firewall with SSH explicitly allowed
177177
- **Testing Tools**: ssh, sshpass, nc, virsh net-dhcp-leases

infrastructure/docs/infrastructure-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Makefile # Build automation and shortcuts
4848
### Local VM Testing
4949

5050
- **KVM/libvirt virtualization** for local testing
51-
- **Ubuntu 22.04 LTS** base image with cloud-init
51+
- **Ubuntu 24.04 LTS** base image with cloud-init
5252
- **Automated VM provisioning** with OpenTofu
5353
- **Reproducible environments** identical to production
5454

@@ -107,7 +107,7 @@ make destroy
107107

108108
### Default Configuration
109109

110-
- **OS**: Ubuntu 22.04 LTS
110+
- **OS**: Ubuntu 24.04 LTS
111111
- **RAM**: 2GB (configurable)
112112
- **CPU**: 2 cores (configurable)
113113
- **Disk**: 20GB (configurable)

infrastructure/docs/local-testing-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ tofu apply
153153

154154
The deployment will:
155155

156-
- Download Ubuntu 22.04 cloud image
156+
- Download Ubuntu 24.04 cloud image
157157
- Create a VM with specified resources
158158
- Apply cloud-init configuration
159159
- Set up basic system requirements
@@ -174,7 +174,7 @@ The deployed VM includes:
174174

175175
### System Configuration
176176

177-
- Ubuntu 22.04 LTS
177+
- Ubuntu 24.04 LTS
178178
- User `torrust` with sudo privileges
179179
- SSH key authentication
180180
- Automatic security updates enabled

infrastructure/terraform/terraform.tfvars.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ vm_disk_size = 20 # GB - Disk size
1212
# vm_vcpus = 4 # 4 CPU cores
1313
# vm_disk_size = 30 # 30GB disk
1414

15-
# Base image (Ubuntu 22.04 LTS)
15+
# Base image (Ubuntu 24.04 LTS)
1616
# You can override this to use a different Ubuntu version
17-
# base_image_url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64-disk-kvm.img"
17+
# base_image_url = "https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img"

0 commit comments

Comments
 (0)