That fails on "yum -y update"
On 25 April 2017 at 14:54, Steve Button wrote:
> Attached is the JSON file I'm using. I stripped it down to 2 filesystem.
> If I create /var/log/audit it works fine, but as soon as I add /var it
> fails to process the next step (yum -y update) and I get 404 errors.
Attached is the JSON file I'm using. I stripped it down to 2 filesystem. If
I create /var/log/audit it works fine, but as soon as I add /var it fails
to process the next step (yum -y update) and I get 404 errors.
Really strange.
Here's the log output (I stripped out some bits like my email to
Haven't done anything similar, but a few comments:
This looks wrong:
"sudo mkfs.ext4 /dev/xvdf",
"sudo mv /home/ec2-user /home/ec2-user.save",
"sudo mkdir -p /home",
"sudo shopt -s dotglob; cp -R /home/ec2-user.save/
/home/ec2-user/",
Hi,
Been googling for this for a bit, and can't find anything sensible.
We're trying to create an AWS AMI which has extra filesystems as
recommended by CIS security (/home, /var, /var/log, /var/log/audit and
/tmp) however when I attempt to create these it causes Packer to hang and
eventally f