$ cat /tmp/my.ud
#!/bin/sh
echo $(cat /proc/uptime) | tee /run/system-up

$ gcloud compute instances create smtest1 \
   --zone=us-central1-b --project=smoser-00 \
   --image-family ubuntu-1710 --image-project ubuntu-os-cloud \
   --metadata-from-file user-data=/tmp/my.ud

## then on node
% cat /etc/cloud/build.info 
build_name: server
serial: 20180303

% cat /run/system-up 
46.63 29.52

% cat /etc/cloud/build.info 
build_name: server
serial: 20180303

% dpkg-query --show cloud-init
cloud-init      17.2-35-gf576b2a2-0ubuntu1~17.10.2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1752711

Title:
  cloud-init no longer processes user data on GCE in artful

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1752711/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to