Ejemplo 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)
Ejemplo 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)
Ejemplo 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)
Ejemplo 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)
Ejemplo 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'])))
Ejemplo 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'])))