File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -16,4 +16,14 @@ build {
16
16
provisioner "shell" {
17
17
inline = [" echo 'source /opt/aws_neuron_venv_pytorch/bin/activate' >> /home/ubuntu/.bashrc" ]
18
18
}
19
+ provisioner "file" {
20
+ source = " scripts/welcome-msg.sh"
21
+ destination = " /tmp/99-custom-message"
22
+ }
23
+ provisioner "shell" {
24
+ inline = [
25
+ " sudo mv /tmp/99-custom-message /etc/update-motd.d/" ,
26
+ " sudo chmod +x /etc/update-motd.d/99-custom-message" ,
27
+ ]
28
+ }
19
29
}
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ printf " =============================================================================\n"
3
+ printf " __| __|_ )\n"
4
+ printf " _| ( / HuggingFace Deep Learning Neuron AMI (Ubuntu 20.04)\n"
5
+ printf " ___|\___|___|\n"
6
+ printf " =============================================================================\n"
7
+ printf " Welcome to the HuggingFace Deep Learning Neuron AMI (Ubuntu 20.04)\n"
8
+ printf " * Examples: /home/ubuntu/huggingface-neuron-samples \n"
9
+ printf " * Notebooks: /home/ubuntu/huggingface-neuron-notebooks \n"
10
+ printf " * Documentation: https://huggingface.co/docs/optimum-neuron/ \n"
11
+ printf " =============================================================================\n"
You can’t perform that action at this time.
0 commit comments