coreos cloud-init

coreos wide http proxy

#cloud-config
write_files:
- path: "/etc/systemd/system.conf.d/10-default-env.conf"
  content: |
    [Manager]
    DefaultEnvironment=HTTP_PROXY=http://www-proxy.us.oracle.com:80
- path: "/etc/profile.env"
  content: |
    export HTTP_PROXY=http://www-proxy.us.oracle.com:80

However, this http proxy configuration doesnot work for etcd, systemd-timesyncd, update-engine

etcd2 discovery http proxy

#cloud-config
coreos:
  etcd2:
    discovery-proxy: http://www-proxy.us.oracle.com:80

systemd-timesyncd

#cloud-config
write_files:
  - path: /etc/systemd/timesyncd.conf
    content: |
      [Time]
      NTP=ntp1.example.com ntp2.example.com