github.com/Cloud-Foundations/Dominator@v0.3.4/cmd/imaginator/conf.json (about) 1 { 2 "BootstrapStreams": { 3 "bootstrap/CentOS-6": { 4 "BootstrapCommand": [ 5 "yumbootstrap", 6 "centos-6", 7 "$dir" 8 ], 9 "FilterLines": [ 10 "/etc/fstab", 11 "/var/log/.*" 12 ], 13 "PackagerType": "rpm" 14 }, 15 "bootstrap/CentOS-7": { 16 "BootstrapCommand": [ 17 "yumbootstrap", 18 "centos-7", 19 "$dir" 20 ], 21 "FilterLines": [ 22 "/etc/fstab", 23 "/var/log/.*" 24 ], 25 "PackagerType": "rpm" 26 }, 27 "bootstrap/Debian-9": { 28 "BootstrapCommand": [ 29 "debootstrap", 30 "--arch=amd64", 31 "stretch", 32 "$dir", 33 "http://deb.debian.org/debian" 34 ], 35 "FilterLines": [ 36 "/etc/hostname", 37 "/etc/machine-id", 38 "/var/log/.*" 39 ], 40 "PackagerType": "deb" 41 }, 42 "bootstrap/Debian-10/amd64": { 43 "BootstrapCommand": [ 44 "debootstrap", 45 "--arch=amd64", 46 "buster", 47 "$dir", 48 "http://deb.debian.org/debian" 49 ], 50 "FilterLines": [ 51 "/etc/hostname", 52 "/etc/machine-id", 53 "/var/log/.*" 54 ], 55 "ImageFilterUrl": "file:///etc/imaginator/filters/Debian-10", 56 "ImageTriggersUrl": "file:///etc/imaginator/triggers/Debian-10", 57 "PackagerType": "deb" 58 }, 59 "bootstrap/Debian-10/i386": { 60 "BootstrapCommand": [ 61 "debootstrap", 62 "--arch=i386", 63 "buster", 64 "$dir", 65 "http://deb.debian.org/debian" 66 ], 67 "FilterLines": [ 68 "/etc/hostname", 69 "/etc/machine-id", 70 "/var/log/.*" 71 ], 72 "ImageFilterUrl": "file:///etc/imaginator/filters/Debian-10", 73 "ImageTriggersUrl": "file:///etc/imaginator/triggers/Debian-10", 74 "PackagerType": "deb" 75 }, 76 "bootstrap/Debian-11/amd64": { 77 "BootstrapCommand": [ 78 "debootstrap", 79 "--arch=amd64", 80 "bullseye", 81 "$dir", 82 "http://deb.debian.org/debian" 83 ], 84 "FilterLines": [ 85 "/etc/hostname", 86 "/etc/machine-id", 87 "/var/log/.*" 88 ], 89 "ImageFilterUrl": "file:///etc/imaginator/filters/Debian-11", 90 "ImageTriggersUrl": "file:///etc/imaginator/triggers/Debian-11", 91 "PackagerType": "deb" 92 }, 93 "bootstrap/Ubuntu-14.04": { 94 "BootstrapCommand": [ 95 "debootstrap", 96 "--arch=amd64", 97 "trusty", 98 "$dir", 99 "http://mirror.company.com/ubuntu" 100 ], 101 "FilterLines": [ 102 "/etc/fstab", 103 "/etc/hostname", 104 "/var/log/.*" 105 ], 106 "PackagerType": "deb" 107 } 108 }, 109 "ImageStreamsUrl": "file:///etc/imaginator/image-streams.json", 110 "PackagerTypes": { 111 "deb": { 112 "CleanCommand": [ 113 "apt-get", 114 "clean" 115 ], 116 "InstallCommand": [ 117 "apt-get", 118 "-q", 119 "-y", 120 "--no-install-recommends", 121 "install" 122 ], 123 "ListCommand": { 124 "ArgList": [ 125 "dpkg-query", 126 "-f", 127 "${binary:Package} ${Version} ${Installed-Size}\n", 128 "--show" 129 ], 130 "SizeMultiplier": 1024 131 }, 132 "RemoveCommand": [ 133 "apt-get", 134 "-q", 135 "--purge", 136 "-y", 137 "--allow-remove-essential", 138 "remove" 139 ], 140 "UpdateCommand": [ 141 "apt-get", 142 "-q", 143 "-y", 144 "update" 145 ], 146 "UpgradeCommand": [ 147 "apt-get", 148 "-q", 149 "-y", 150 "-o", 151 "Dpkg::Options::=--force-confold", 152 "dist-upgrade" 153 ], 154 "Verbatim": [ 155 "export DEBIAN_FRONTEND=noninteractive" 156 ] 157 }, 158 "rpm": { 159 "CleanCommand": [ 160 "yum", 161 "clean", 162 "all" 163 ], 164 "InstallCommand": [ 165 "yum", 166 "-q", 167 "-y", 168 "install" 169 ], 170 "ListCommand": { 171 "ArgList": [ 172 "rpm", 173 "-qa", 174 "--queryformat", 175 "%{NAME} %{VERSION}_%{RELEASE} %{SIZE}\n" 176 ] 177 }, 178 "RemoveCommand": [ 179 "yum", 180 "-q", 181 "-y", 182 "remove" 183 ], 184 "UpdateCommand": [ 185 "yum", 186 "-q", 187 "-y", 188 "makecache" 189 ], 190 "UpgradeCommand": [ 191 "yum", 192 "-q", 193 "-y", 194 "update" 195 ] 196 } 197 } 198 }