Hi Packer people,
I am having a terrible time trying to create new volumes for /tmp /var /home via packer.
I am using /dev/nvme1n* for my volumes having permission issues when trying to write to new volumes.
I am able to make mkfs on the volumes and mount them.
==> amazon-ebs.example: Provisioning with shell script: /tmp/packer-shell3185452200
==> amazon-ebs.example: mke2fs 1.45.5 (07-Jan-2020)
amazon-ebs.example: Creating filesystem with 5242880 4k blocks and 1310720 inodes
amazon-ebs.example: Filesystem UUID: 850a46bc-82e4-4f46-a203-fce34dc66ba3
amazon-ebs.example: Superblock backups stored on blocks:
amazon-ebs.example: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
amazon-ebs.example: 4096000
amazon-ebs.example:
amazon-ebs.example: Allocating group tables: done
amazon-ebs.example: Writing inode tables: done
amazon-ebs.example: Creating journal (32768 blocks): done
amazon-ebs.example: Writing superblocks and filesystem accounting information: done
amazon-ebs.example:
amazon-ebs.example: /dev/nvme1n1 /tmp ext4 defaults 1 2
==> amazon-ebs.example: Uploading ./defaults.cfg => /tmp/defaults.cfg
==> amazon-ebs.example: Upload failed: scp: /tmp/defaults.cfg: Permission denied
Any help or suggestions would be greatly appreciated?
Thanks
Ken