Packer:测试HashiCorp的Packer 用于构建Golden Images的工具 源码

celcius2960 17 0 ZIP 2021-04-01 12:04:13

封隔器 测试HashiCorp的Packer-用于构建Golden Images的工具。 开始打包程序的构建: # First prettify packer files packer fmt Jenkins-AMI/ # Validate that the syntax is correct packer validate Jenkins-AMI/ # Start the build packer build Jenkins-AMI/ 由于以ec2-user而不是root身份运行,因此遇到了一些问题 要成为root用户, execute_command与execute_command使用 成为Shell Provisioner的root // Configure AMI as NAT Instance provisioner " shell " { /*

用户评论
请输入评论内容
评分:
暂无评论