feat(core): Initial project scaffold and implementation: Deno CLI, ISO tooling, cloud-init generation, packaging and installer scripts
This commit is contained in:
		
							
								
								
									
										90
									
								
								templates/config.template.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										90
									
								
								templates/config.template.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,90 @@ | ||||
| # isocreator configuration file | ||||
| # Version: 1.0 | ||||
|  | ||||
| version: "1.0" | ||||
|  | ||||
| # Base ISO settings | ||||
| iso: | ||||
|   ubuntu_version: "24.04"  # Ubuntu version (22.04, 24.04, etc.) | ||||
|   architecture: "amd64"     # amd64 for PC, arm64 for Raspberry Pi | ||||
|   flavor: "server"          # server or desktop (default: server) | ||||
|  | ||||
| # Output settings | ||||
| output: | ||||
|   filename: "ubuntu-custom.iso" | ||||
|   path: "./output" | ||||
|  | ||||
| # Network configuration | ||||
| network: | ||||
|   wifi: | ||||
|     ssid: "MyWiFi" | ||||
|     password: "changeme" | ||||
|     # Optional advanced settings: | ||||
|     # security: "wpa2" | ||||
|     # hidden: false | ||||
|  | ||||
| # Cloud-init configuration | ||||
| cloud_init: | ||||
|   # System hostname | ||||
|   hostname: "ubuntu-server" | ||||
|  | ||||
|   # User accounts | ||||
|   users: | ||||
|     - name: "admin" | ||||
|       ssh_authorized_keys: | ||||
|         - "ssh-rsa AAAAB3... your-key-here" | ||||
|       sudo: "ALL=(ALL) NOPASSWD:ALL" | ||||
|       shell: "/bin/bash" | ||||
|       # Optional: | ||||
|       # groups: ["docker", "sudo"] | ||||
|       # lock_passwd: true | ||||
|  | ||||
|   # Packages to install on first boot | ||||
|   packages: | ||||
|     - docker.io | ||||
|     - git | ||||
|     - htop | ||||
|     - curl | ||||
|     - wget | ||||
|  | ||||
|   # Package management | ||||
|   package_update: true | ||||
|   package_upgrade: false | ||||
|  | ||||
|   # Commands to run on first boot | ||||
|   runcmd: | ||||
|     - systemctl enable docker | ||||
|     - systemctl start docker | ||||
|     - echo "Setup complete!" > /tmp/setup-done | ||||
|  | ||||
|   # Write files | ||||
|   # write_files: | ||||
|   #   - path: /etc/motd | ||||
|   #     content: | | ||||
|   #       Welcome to Ubuntu Custom ISO! | ||||
|   #     owner: root:root | ||||
|   #     permissions: '0644' | ||||
|  | ||||
|   # Timezone | ||||
|   # timezone: "UTC" | ||||
|  | ||||
|   # Locale | ||||
|   # locale: "en_US.UTF-8" | ||||
|  | ||||
|   # SSH settings | ||||
|   # ssh: | ||||
|   #   password_authentication: false | ||||
|   #   permit_root_login: false | ||||
|  | ||||
| # Custom boot scripts (advanced) | ||||
| # boot_scripts: | ||||
| #   - name: "setup-docker" | ||||
| #     path: "./scripts/setup-docker.sh" | ||||
| #     enable: true | ||||
|  | ||||
| # Pre-install packages (requires longer build time) | ||||
| # preinstall: | ||||
| #   enabled: false | ||||
| #   packages: | ||||
| #     - vim | ||||
| #     - curl | ||||
		Reference in New Issue
	
	Block a user