Skip to content

Packer Scripts for Red Hat Family 7 (RedHat 7, CentOS 7, OEL 7)

License

Notifications You must be signed in to change notification settings

damianoneill/packer-centos7

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packer Image Builder for Centos 7

Introduction

The focus is to:

  • build production ready images
  • reduce the image to the minimal required set
  • do not expect any specific environment (for patch management etc)

This repository can be used to build

  • KVM images

Requirements

  • The templates are only tested with packer 0.5.2 and later.
  • This build needs to be run on a Centos Host.

CentOS 7

CentOS 7 is the next major release with great new features.

# start the installation
packer build -only=centos-7-qemu-qcow2 centos7.json

# shrink the image size
qemu-img convert -c -f qcow2 -O qcow2 -o cluster_size=2M target/centos-7-qemu.qcow2 target/centos-7-qemu-compressed.qcow2

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Packer Scripts for Red Hat Family 7 (RedHat 7, CentOS 7, OEL 7)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%