mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Manifest cleanup, begin with simple manifests only
No plugins. They should be explained in the documentation
This commit is contained in:
parent
c62dcccd8d
commit
ae1327811b
9 changed files with 106 additions and 200 deletions
33
manifests/ec2-ebs-partitioned.manifest.json
Normal file
33
manifests/ec2-ebs-partitioned.manifest.json
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"provider": "ec2",
|
||||
"virtualization": "pvm",
|
||||
"credentials": {
|
||||
// "access-key": null,
|
||||
// "secret-key": null
|
||||
},
|
||||
|
||||
"bootstrapper": {
|
||||
"workspace": "/target"
|
||||
},
|
||||
"image": {
|
||||
"name": "debian-{release}-{architecture}-{virtualization}-{%y}{%m}{%d}",
|
||||
"description": "Debian {release} {architecture} AMI ({virtualization})"
|
||||
},
|
||||
"system": {
|
||||
"release": "wheezy",
|
||||
"architecture": "amd64",
|
||||
"timezone": "UTC",
|
||||
"locale": "en_US",
|
||||
"charmap": "UTF-8"
|
||||
},
|
||||
"volume": {
|
||||
"backing": "ebs",
|
||||
"partitions": {
|
||||
"type": "mbr",
|
||||
"root": {
|
||||
"size": 1023,
|
||||
"filesystem": "ext4"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
{
|
||||
"provider": "ec2",
|
||||
"virtualization": "pvm",
|
||||
"credentials": {
|
||||
"access-key": null,
|
||||
"secret-key": null
|
||||
},
|
||||
|
||||
"bootstrapper": {
|
||||
"workspace": "/target",
|
||||
"mirror": "http://http.debian.net/debian"
|
||||
},
|
||||
"image": {
|
||||
"name": "debian-{release}-{architecture}-{virtualization}-{%Y}{%m}{%d}",
|
||||
"description": "Debian {release} {architecture} AMI ({virtualization})"
|
||||
},
|
||||
"system": {
|
||||
"release": "wheezy",
|
||||
"architecture": "amd64",
|
||||
"timezone": "UTC",
|
||||
"locale": "en_US",
|
||||
"charmap": "UTF-8"
|
||||
},
|
||||
"volume": {
|
||||
"backing": "ebs",
|
||||
"partition_table": {
|
||||
"type": null,
|
||||
"partitions": [
|
||||
{"size": 8192,
|
||||
"filesystem": "ext4",
|
||||
"flags": ["root"]}
|
||||
]
|
||||
}
|
||||
},
|
||||
"plugins": {
|
||||
"admin_user": {
|
||||
"enabled": true,
|
||||
"username": "admin"
|
||||
},
|
||||
"backports": {
|
||||
"enabled": true,
|
||||
"packages": [ "cloud-init" ]
|
||||
},
|
||||
"build_metadata": {
|
||||
"enabled": false,
|
||||
"path": "/root/build-metadata-{ami_name}"
|
||||
},
|
||||
"prebootstrapped": {
|
||||
"enabled": false,
|
||||
"snapshot": ""
|
||||
}
|
||||
}
|
||||
}
|
33
manifests/ec2-ebs.manifest.json
Normal file
33
manifests/ec2-ebs.manifest.json
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"provider": "ec2",
|
||||
"virtualization": "pvm",
|
||||
"credentials": {
|
||||
// "access-key": null,
|
||||
// "secret-key": null
|
||||
},
|
||||
|
||||
"bootstrapper": {
|
||||
"workspace": "/target"
|
||||
},
|
||||
"image": {
|
||||
"name": "debian-{release}-{architecture}-{virtualization}-{%y}{%m}{%d}",
|
||||
"description": "Debian {release} {architecture} AMI ({virtualization})"
|
||||
},
|
||||
"system": {
|
||||
"release": "wheezy",
|
||||
"architecture": "amd64",
|
||||
"timezone": "UTC",
|
||||
"locale": "en_US",
|
||||
"charmap": "UTF-8"
|
||||
},
|
||||
"volume": {
|
||||
"backing": "ebs",
|
||||
"partitions": {
|
||||
"type": "none",
|
||||
"root": {
|
||||
"size": 1024,
|
||||
"filesystem": "ext4"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
"provider": "ec2",
|
||||
"virtualization": "pvm",
|
||||
"credentials": {
|
||||
"access-key": null,
|
||||
"secret-key": null,
|
||||
"certificate": null,
|
||||
"private-key": null,
|
||||
"user-id": null
|
||||
},
|
||||
|
||||
"bootstrapper": {
|
||||
"workspace": "/target",
|
||||
"mirror": "http://http.debian.net/debian"
|
||||
},
|
||||
"image": {
|
||||
"name": "debian-{release}-{architecture}-{virtualization}-{%Y}{%m}{%d}",
|
||||
"description": "Debian {release} {architecture} AMI ({virtualization})"
|
||||
"bucket": ""
|
||||
},
|
||||
"system": {
|
||||
"release": "wheezy",
|
||||
"architecture": "amd64",
|
||||
"timezone": "UTC",
|
||||
"locale": "en_US",
|
||||
"charmap": "UTF-8"
|
||||
},
|
||||
"volume": {
|
||||
"backing": "s3",
|
||||
"filesystem": "ext4",
|
||||
"size": 1024
|
||||
},
|
||||
"plugins": {
|
||||
"admin_user": {
|
||||
"enabled": true,
|
||||
"username": "admin"
|
||||
},
|
||||
"prebootstrapped": {
|
||||
"enabled": false,
|
||||
"image": null
|
||||
}
|
||||
}
|
||||
}
|
37
manifests/ec2-s3.manifest.json
Normal file
37
manifests/ec2-s3.manifest.json
Normal file
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"provider": "ec2",
|
||||
"virtualization": "pvm",
|
||||
"credentials": {
|
||||
// "access-key": null,
|
||||
// "secret-key": null,
|
||||
// "certificate": null,
|
||||
// "private-key": null,
|
||||
// "user-id": null
|
||||
},
|
||||
|
||||
"bootstrapper": {
|
||||
"workspace": "/target"
|
||||
},
|
||||
"image": {
|
||||
"name": "debian-{release}-{architecture}-{virtualization}-{%y}{%m}{%d}",
|
||||
"description": "Debian {release} {architecture} AMI",
|
||||
"bucket": "debian-amis"
|
||||
},
|
||||
"system": {
|
||||
"release": "wheezy",
|
||||
"architecture": "amd64",
|
||||
"timezone": "UTC",
|
||||
"locale": "en_US",
|
||||
"charmap": "UTF-8"
|
||||
},
|
||||
"volume": {
|
||||
"backing": "s3",
|
||||
"partitions": {
|
||||
"type": "none",
|
||||
"root": {
|
||||
"size": 1024,
|
||||
"filesystem": "ext4"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,39 +0,0 @@
|
|||
{
|
||||
"provider" : "kvm",
|
||||
"virtualization": "virtio",
|
||||
|
||||
"bootstrapper": {
|
||||
"workspace": "/mnt/target",
|
||||
"mirror" : "http://ftp.fr.debian.org/debian/"
|
||||
},
|
||||
"image": {
|
||||
"name" : "debian-{release}-{architecture}-{virtualization}-{%y}{%m}{%d}",
|
||||
"description": "Debian {release} {architecture} ({virtualization})"
|
||||
},
|
||||
"system": {
|
||||
"release" : "wheezy",
|
||||
"architecture": "amd64",
|
||||
"timezone" : "UTC",
|
||||
"locale" : "en_US",
|
||||
"charmap" : "UTF-8"
|
||||
},
|
||||
"volume": {
|
||||
"backing" : "raw",
|
||||
"filesystem": "ext4",
|
||||
"size" : 1024
|
||||
},
|
||||
"plugins": {
|
||||
"user_packages": {
|
||||
"enabled": true,
|
||||
"repo": [ "apache2" ],
|
||||
"local": []
|
||||
},
|
||||
"root_password": {
|
||||
"enabled": true,
|
||||
"password": "test"
|
||||
},
|
||||
"opennebula": {
|
||||
"enabled": true
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
{
|
||||
"provider" : "one",
|
||||
"virtualization": "ide",
|
||||
|
||||
"bootstrapper": {
|
||||
"workspace": "/target"
|
||||
},
|
||||
"image": {
|
||||
"name" : "debian-{release}-{architecture}-{virtualization}-{%y}{%m}{%d}",
|
||||
"description": "Debian {release} {architecture} ({virtualization})"
|
||||
},
|
||||
"system": {
|
||||
"release" : "wheezy",
|
||||
"architecture": "amd64",
|
||||
"timezone" : "UTC",
|
||||
"locale" : "en_US",
|
||||
"charmap" : "UTF-8"
|
||||
},
|
||||
"volume": {
|
||||
"backing" : "raw",
|
||||
"filesystem": "ext4",
|
||||
"size" : 1024
|
||||
},
|
||||
"plugins": {
|
||||
"user_packages": {
|
||||
"enabled": true,
|
||||
"repo": [ "apache2" ],
|
||||
"local": []
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
{
|
||||
"provider" : "one",
|
||||
"virtualization": "virtio",
|
||||
|
||||
"bootstrapper": {
|
||||
"workspace": "/target"
|
||||
},
|
||||
"image": {
|
||||
"name" : "debian-{release}-{architecture}-{virtualization}-{%y}{%m}{%d}",
|
||||
"description": "Debian {release} {architecture} ({virtualization})"
|
||||
},
|
||||
"system": {
|
||||
"release" : "wheezy",
|
||||
"architecture": "amd64",
|
||||
"timezone" : "UTC",
|
||||
"locale" : "en_US",
|
||||
"charmap" : "UTF-8"
|
||||
},
|
||||
"volume": {
|
||||
"backing" : "raw",
|
||||
"filesystem": "ext4",
|
||||
"size" : 1024
|
||||
},
|
||||
"plugins": {
|
||||
"user_packages": {
|
||||
"enabled": true,
|
||||
"repo": [ "apache2" ],
|
||||
"local": []
|
||||
}
|
||||
}
|
||||
}
|
|
@ -16,7 +16,7 @@
|
|||
"charmap" : "UTF-8"
|
||||
},
|
||||
"volume": {
|
||||
"backing": "vdi",
|
||||
"backing": "vdi",
|
||||
"partitions": {
|
||||
"type": "mbr",
|
||||
"boot": {
|
||||
|
@ -26,8 +26,8 @@
|
|||
"root": {
|
||||
"size": 991,
|
||||
"filesystem": "ext4"
|
||||
}
|
||||
// ,"swap": {"size": 128}
|
||||
},
|
||||
"swap": {"size": 128}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue