File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
bosh-stemcell/spec/stemcells
stemcell_builder/stages/system_azure_init/assets/etc/cloud-init Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 4343 end
4444 end
4545
46+ context 'cloud-init Azure APT mirror configuration' do
47+ describe file ( '/etc/cloud/cloud.cfg.d/90-azure-apt-sources.cfg' ) do
48+ it { should be_file }
49+ its ( :content ) { should include ( 'http://azure.archive.ubuntu.com/ubuntu/' ) }
50+ end
51+
52+ describe file ( '/etc/cloud/cloud.cfg' ) do
53+ it { should be_file }
54+ its ( :content ) { should include ( 'apt-configure' ) }
55+ end
56+ end
57+
4658 context 'installed by system_azure_network' , {
4759 exclude_on_alicloud : true ,
4860 exclude_on_aws : true ,
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ cloud_init_modules:
1010 - update_etc_hosts
1111 - users-groups
1212 - ssh
13+ - apt-configure
1314cloud_config_modules:
1415 - ssh-import-id
1516 - set-passwords
You can’t perform that action at this time.
0 commit comments