Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

manifests/freenas-12-stable-ec2.json #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

manifests/freenas-12-stable-ec2.json #10

wants to merge 1 commit into from

Conversation

themylogin
Copy link

No description provided.

@themylogin themylogin requested a review from kmoore134 July 18, 2019 14:13
@@ -0,0 +1,235 @@
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be a huge pain to maintain. We need a way to extend/use the original freenas-12-stable somehow.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kmoore134 can this be possible to import one manifest from another and override some keys?

--- manifests/freenas-12-stable.json	2019-07-18 16:00:47.102116984 +0200
+++ manifests/freenas-12-stable-ec2.json	2019-07-18 16:10:01.638388395 +0200
@@ -1,4 +1,4 @@
-{	
+{
 	"base-packages": {
 		"kernel-flags": {
 			"default": [
@@ -20,12 +20,6 @@
 		},
 		"auto-install-script": "",
 		"dist-packages": {},
-		"dist-packages-glob": {
-			"default": [
-				"os-nozfs-kernel",
-				"os-nozfs-userland"
-			]
-		},
 		"prune": {
 			"default": [
 				"METALOG",
@@ -49,20 +43,10 @@
 				"/usr/lib32"
 			]
 		},
-		"file-name": "FreeNAS-12-snapshot-x64-%%DATE%%",
+		"file-name": "FreeNAS-12-snapshot-EC2-%%DATE%%",
 		"install-script": "",
-		"iso-base-packages": {
-			"default": [
-				"os-nozfs-userland",
-				"os-nozfs-kernel"
-			]
-		},
 		"iso-packages": {
-			"default": [
-				"freenas/freenas-installer",
-				"sysutils/openzfs",
-				"textproc/jq"
-			]
+			"default": []
 		},
 		"offline-update": true,
 		"overlay": {},
@@ -233,5 +217,19 @@
 		"BUILD_AS_NON_ROOT=no",
 		"RESTRICT_NETWORKING=no"
 	],
-	"version": "1.1"
+	"version": "1.1",
+	"vm": {
+		"boot": "zfs",
+		"disk-config": "zfs-noswap-freenas",
+		"file-name": "FreeNAS-12-snapshot-EC2-%%GITHASH%%-%%DATE%%",
+		"pool-name": "freenas-boot",
+		"size": "3G",
+		"vm-base-packages": {
+			"default": [
+				"os-nozfs-userland",
+				"os-nozfs-kernel",
+				"sysutils/openzfs"
+			]
+		}
+	}
 }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants