Browse Source

ci: add packer files execute permission

NGPixel 3 years ago
parent
commit
4ecf1f0167
1 changed files with 7 additions and 0 deletions
  1. 7 0
      dev/packer/digitalocean.json

+ 7 - 0
dev/packer/digitalocean.json

@@ -38,6 +38,13 @@
       "source": "scripts/099-one-click",
       "destination": "/etc/update-motd.d/099-one-click"
     },
+    {
+      "type": "shell",
+      "inline": [
+        "chmod +x /var/lib/cloud/scripts/per-instance/001-onboot.sh",
+        "chmod +x /etc/update-motd.d/099-one-click"
+      ]
+    },
     {
       "type": "shell",
       "environment_vars": [