Skip to content

Commit 4d2470d

Browse files
author
Christoph Wolfes
authored
Merge pull request #449 from cloudogu/feature/update_packer_build
Update Packer build
2 parents 8774fbb + bdead8c commit 4d2470d

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
99
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1010

1111
## [Unreleased]
12+
### Added
13+
- Make sure scripts in /install are executable in Packer build process
14+
15+
### Changed
16+
- Upgrade to Ubuntu 20.04.4 iso
17+
1218
### Removed
1319
- Firewall rule for port 50051 from installation script (#447)
1420

images/template.dev.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"memory": "8192",
77
"cpus": "4",
88
"disk_size": "100000",
9-
"iso_url": "https://releases.ubuntu.com/20.04.3/ubuntu-20.04.3-live-server-amd64.iso",
10-
"iso_checksum": "sha256:f8e3086f3cea0fb3fefb29937ab5ed9d19e767079633960ccb50e76153effc98"
9+
"iso_url": "https://releases.ubuntu.com/20.04.4/ubuntu-20.04.4-live-server-amd64.iso",
10+
"iso_checksum": "sha256:28ccdb56450e643bad03bb7bcf7507ce3d8d90e8bf09e38f6bd9ac298a98eaad"
1111
},
1212
"builders": [
1313
{

images/template.prod.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"memory": "8192",
77
"cpus": "4",
88
"disk_size": "100000",
9-
"iso_url": "https://releases.ubuntu.com/20.04.3/ubuntu-20.04.3-live-server-amd64.iso",
10-
"iso_checksum": "sha256:f8e3086f3cea0fb3fefb29937ab5ed9d19e767079633960ccb50e76153effc98"
9+
"iso_url": "https://releases.ubuntu.com/20.04.4/ubuntu-20.04.4-live-server-amd64.iso",
10+
"iso_checksum": "sha256:28ccdb56450e643bad03bb7bcf7507ce3d8d90e8bf09e38f6bd9ac298a98eaad"
1111
},
1212
"builders": [
1313
{

install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,15 @@ if [ -z ${INSTALL_HOME+x} ]; then
1515
fi
1616
export INSTALL_HOME
1717

18+
# Make sure all scripts are executable
19+
# This may not be the case when Packer build is started from Windows machines
20+
chmod +x "$INSTALL_HOME"/install/*.sh
21+
1822
# install ces packages
1923
echo "install ces packages"
2024
"$INSTALL_HOME"/install/install-ces-packages.sh
2125

22-
# snyc resources
26+
# sync resources
2327
echo "sync files"
2428
"$INSTALL_HOME"/install/sync-files.sh
2529

0 commit comments

Comments
 (0)