Esempio n. 1
0
def test_msdos_extlinux_unstable():
	std_partials = ['base', 'unstable64', 'msdos', 'single_partition', 'root_password']
	custom_partials = [partials['ebs_hvm'], partials['extlinux']]
	manifest_data = merge_manifest_data(std_partials, custom_partials)
	boot_vars = {'instance_type': 't2.micro'}
	with boot_manifest(manifest_data, boot_vars) as instance:
		print(instance.get_console_output().output)
Esempio n. 2
0
def test_unpartitioned_unstable():
    std_partials = ['base', 'unstable64', 'unpartitioned', 'root_password']
    custom_partials = [partials['ebs_pvm']]
    manifest_data = merge_manifest_data(std_partials, custom_partials)
    boot_vars = {'instance_type': 't1.micro'}
    with boot_manifest(manifest_data, boot_vars) as instance:
        print(instance.get_console_output().output)
def test_unpartitioned_unstable():
    std_partials = ['base', 'unstable64', 'unpartitioned', 'root_password']
    custom_partials = [partials['ebs_pvm']]
    manifest_data = merge_manifest_data(std_partials, custom_partials)
    boot_vars = {'instance_type': 't1.micro'}
    with boot_manifest(manifest_data, boot_vars) as instance:
        print(instance.get_console_output().output)
Esempio n. 4
0
def test_unpartitioned_extlinux_unstable():
    std_partials = [
        'base', 'unstable64', 'extlinux', 'unpartitioned', 'root_password'
    ]
    custom_partials = [partials['vmdk']]
    manifest_data = merge_manifest_data(std_partials, custom_partials)
    with boot_manifest(manifest_data) as instance:
        print(instance.console_output)
Esempio n. 5
0
def test_gpt_grub_stable():
    std_partials = [
        'base', 'stable64', 'grub', 'gpt', 'partitioned', 'root_password'
    ]
    custom_partials = [partials['vmdk']]
    manifest_data = merge_manifest_data(std_partials, custom_partials)
    with boot_manifest(manifest_data) as instance:
        print(instance.console_output)
def test_msdos_grub_unstable():
    std_partials = ['base', 'unstable64', 'grub', 'msdos', 'partitioned', 'root_password']
    custom_partials = [partials['vmdk']]
    manifest_data = merge_manifest_data(std_partials, custom_partials)
    with boot_manifest(manifest_data) as instance:
        print(instance.console_output)
def test_unpartitioned_extlinux_oldstable():
    std_partials = ['base', 'oldstable64', 'extlinux', 'unpartitioned', 'root_password']
    custom_partials = [partials['vmdk']]
    manifest_data = merge_manifest_data(std_partials, custom_partials)
    with boot_manifest(manifest_data) as instance:
        print(instance.console_output)
Esempio n. 8
0
def test_stable():
    std_partials = ['base', 'stable64']
    custom_partials = [partials['docker']]
    manifest_data = merge_manifest_data(std_partials, custom_partials)
    with boot_manifest(manifest_data) as instance:
        print('\n'.join(instance.run(['echo', 'test'])))
Esempio n. 9
0
def test_stable():
	std_partials = ['base', 'stable64']
	custom_partials = [partials['docker']]
	manifest_data = merge_manifest_data(std_partials, custom_partials)
	with boot_manifest(manifest_data) as instance:
		print('\n'.join(instance.run(['echo', 'test'])))