mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
ASwitch manifests ot explicitly use Ec2 for metadata. Swap S3 to use a 4GB root FS.
This commit is contained in:
parent
b034ca8ed1
commit
9c759fe8bf
10 changed files with 12 additions and 17 deletions
|
@ -52,7 +52,9 @@ class SetUsername(Task):
|
||||||
|
|
||||||
class SetMetadataSource(Task):
|
class SetMetadataSource(Task):
|
||||||
description = 'Setting metadata source'
|
description = 'Setting metadata source'
|
||||||
phase = phases.system_modification
|
#phase = phases.system_modification
|
||||||
|
phase = phases.package_installation
|
||||||
|
successors = [apt.AptUpdate]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def run(cls, info):
|
def run(cls, info):
|
||||||
|
|
|
@ -37,8 +37,7 @@
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"cloud_init": {
|
"cloud_init": {
|
||||||
"username": "admin",
|
"username": "admin",
|
||||||
//"metadata_sources": "Ec2",
|
"metadata_sources": "Ec2"
|
||||||
"disable_modules": [ "landscape", "byobu", "ssh-import-id" ]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,8 +37,7 @@
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"cloud_init": {
|
"cloud_init": {
|
||||||
"username": "admin",
|
"username": "admin",
|
||||||
//"metadata_sources": "Ec2",
|
"metadata_sources": "Ec2"
|
||||||
"disable_modules": [ "landscape", "byobu", "ssh-import-id" ]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,8 +37,7 @@
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"cloud_init": {
|
"cloud_init": {
|
||||||
"username": "admin",
|
"username": "admin",
|
||||||
//"metadata_sources": "Ec2",
|
"metadata_sources": "Ec2"
|
||||||
"disable_modules": [ "landscape", "byobu", "ssh-import-id" ]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,8 +37,7 @@
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"cloud_init": {
|
"cloud_init": {
|
||||||
"username": "admin",
|
"username": "admin",
|
||||||
//"metadata_sources": "Ec2",
|
"metadata_sources": "Ec2"
|
||||||
"disable_modules": [ "landscape", "byobu", "ssh-import-id" ]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,8 +37,7 @@
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"cloud_init": {
|
"cloud_init": {
|
||||||
"username": "admin",
|
"username": "admin",
|
||||||
//"metadata_sources": "Ec2",
|
"metadata_sources": "Ec2"
|
||||||
"disable_modules": [ "landscape", "byobu", "ssh-import-id" ]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,8 +37,7 @@
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"cloud_init": {
|
"cloud_init": {
|
||||||
"username": "admin",
|
"username": "admin",
|
||||||
//"metadata_sources": "Ec2",
|
"metadata_sources": "Ec2"
|
||||||
"disable_modules": [ "landscape", "byobu", "ssh-import-id" ]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,8 +38,7 @@
|
||||||
"plugins": {
|
"plugins": {
|
||||||
"cloud_init": {
|
"cloud_init": {
|
||||||
"username": "admin",
|
"username": "admin",
|
||||||
//"metadata_sources": "Ec2",
|
"metadata_sources": "Ec2"
|
||||||
"disable_modules": [ "landscape", "byobu", "ssh-import-id" ]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
"partitions": {
|
"partitions": {
|
||||||
"type": "none",
|
"type": "none",
|
||||||
"root": {
|
"root": {
|
||||||
"size": "1GiB",
|
"size": "4GiB",
|
||||||
"filesystem": "ext4"
|
"filesystem": "ext4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
"partitions": {
|
"partitions": {
|
||||||
"type": "none",
|
"type": "none",
|
||||||
"root": {
|
"root": {
|
||||||
"size": "1GiB",
|
"size": "4GiB",
|
||||||
"filesystem": "ext4"
|
"filesystem": "ext4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue