Browse code

Add micro ova flavor

Change-Id: I2518c93ff3491da2d47a8eb9222d5b1365bb2f77
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1684
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
Tested-by: gerrit-photon <photon-checkins@vmware.com>

suezzelur authored on 2016/11/15 08:58:01
Showing 5 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,8 @@
0
+{
1
+    "micro" : {
2
+        "title" : "Photon Micro",
3
+        "file" : "packages_micro.json",
4
+        "visible" : true,
5
+        "include" : []
6
+    }
7
+}
... ...
@@ -1,16 +1,18 @@
1 1
 {
2
-    "packages":[
3
-                "bzip2", "pkg-config", "shadow", "procps-ng", "e2fsprogs",
4
-                "iana-etc", "bash",
5
-                "net-tools", "coreutils",
6
-                "iproute2", "kbd", "systemd",
2
+    "packages":["filesystem",  
3
+                "pkg-config", 
4
+                "bash",
5
+                "bzip2", 
6
+                "shadow", 
7
+                "coreutils",
8
+                "net-tools",
7 9
                 "util-linux",
8
-                "linux", 
9
-                "iptables", "ca-certificates",
10
-                "dbus", "docker",
11
-                "photon-release", "photon-repos",
12
-                "initramfs"
13
-                ]
10
+                "linux-esx",
11
+                "systemd",
12
+                "dbus",
13
+                "photon-release", 
14
+                "photon-repos",
15
+                "tdnf"]
14 16
 }
15 17
 
16 18
 
17 19
new file mode 100755
... ...
@@ -0,0 +1,3 @@
0
+#!/bin/bash
1
+echo -e "changeme\nchangeme" | passwd root
2
+chage -d 0 root
0 3
\ No newline at end of file
1 4
new file mode 100644
... ...
@@ -0,0 +1,15 @@
0
+{
1
+    "hostname": "photon-machine",
2
+    "password": 
3
+        {
4
+            "crypted": false,
5
+            "text": "PASSWORD"
6
+        },
7
+    "type": "micro",
8
+    "size": { "root": "8", "swap": "0" },
9
+    "public_key":"<ssh-key-here>",
10
+    "customartifacts": { "postinstallscripts": ["ova_micro-custom-patch.sh"] },
11
+    "artifacttype": "ova",
12
+    "keeprawdisk": "false"
13
+}
14
+
0 15
new file mode 100644
... ...
@@ -0,0 +1,22 @@
0
+.encoding = "UTF-8"
1
+virtualHW.version = "11"
2
+scsi0.present = "TRUE"
3
+scsi0.virtualDev = "lsilogic"
4
+scsi0:0.present = "TRUE"
5
+scsi0:0.fileName = "VMDK_IMAGE"
6
+ethernet0.present = "TRUE"
7
+ethernet0.virtualDev = "vmxnet3"
8
+ethernet0.wakeOnPcktRcv = "FALSE"
9
+ethernet0.addressType = "generated"
10
+ethernet0.linkStatePropagation.enable = "TRUE"
11
+ethernet0.connectionType = "None"
12
+displayName = "Photon"
13
+guestOS = "*other26xLinux64Guest"
14
+memsize = "2048"
15
+ide1:0.present = "TRUE"
16
+ide1:0.autodetect = "TRUE"
17
+ide1:0.deviceType = "cdrom-raw"
18
+ide1:0.startConnected = "FALSE"
19
+pciBridge5.present = "FALSE"
20
+pciBridge6.present = "FALSE"
21
+pciBridge7.present = "FALSE"