#cloud-config
package_reboot_if_required: false
apt_preserve_sources_list: true
apt_sources:
 - source: deb http://common.dist.yandex.ru/common unstable/all/
 - source: deb http://common.dist.yandex.ru/common unstable/amd64/
 - source: deb http://common.dist.yandex.ru/common testing/all/
 - source: deb http://common.dist.yandex.ru/common testing/amd64/
 - source: deb http://common.dist.yandex.ru/common stable/all/
 - source: deb http://common.dist.yandex.ru/common stable/amd64/
 - source: deb http://precise.dist.yandex.ru/yandex-precise/ stable/all/
 - source: deb http://precise.dist.yandex.ru/yandex-precise/ stable/amd64/
 - source: deb http://archive.canonical.com/ubuntu precise partner
 - source: deb-src http://archive.canonical.com/ubuntu precise partner
 - source: deb http://verstka.dist.yandex.ru/verstka stable/all/
package_update: true
package_upgrade: true
disable_root: false
hostname: _HOSTNAME_.ocorba.yandex.net
fqdn: _HOSTNAME_.ocorba.yandex.net
manage_etc_hosts: true
runcmd:
 - [ apt-get, update ]
 - [ 'export', 'DEBIAN_FRONTEND=noninteractive' ]
 - [ 'apt-get', install, --yes, --force-yes, '--option=Dpkg::Options::=--force-confdef','--option=Dpkg::options::=--force-confold', yandex-archive-keyring, yandex-dash2bash, config-nginx-homepage-www, yandex-homepage-www, yandex-ocorba ]
 - [ 'apt-get', install, --yes, --force-yes, '--option=Dpkg::Options::=--force-confdef','--option=Dpkg::options::=--force-confold', config-media-common ]
 - [ '/etc/init.d/networking', 'restart' ]
 - [ '/etc/init.d/xscript-multiple', 'start', 'all' ]
 - [ '/etc/init.d/nginx', 'start' ]
