diff --git a/builder/pwnagotchi.json b/builder/pwnagotchi.json index fff56357..554c1653 100644 --- a/builder/pwnagotchi.json +++ b/builder/pwnagotchi.json @@ -87,6 +87,11 @@ "chmod +x /usr/bin/*" ] }, + { + "type": "file", + "source": "../builder/data/etc/update-motd.d/01-motd", + "destination": "/etc/update-motd.d/01-motd", + }, { "type": "shell", "inline": [ diff --git a/builder/pwnagotchi.json.pkr.hcl b/builder/pwnagotchi.json.pkr.hcl index 5eadfcf4..25f123c6 100644 --- a/builder/pwnagotchi.json.pkr.hcl +++ b/builder/pwnagotchi.json.pkr.hcl @@ -103,6 +103,10 @@ build { provisioner "shell" { inline = ["chmod +x /usr/bin/*"] } + provisioner "file" { + destination = "/etc/update-motd.d/01-motd" + source = "../builder/data/etc/update-motd.d/01-motd" + } provisioner "shell" { inline = ["chmod +x /etc/update-motd.d/*"] }