$ sudo apt -y -q install qemu-kvm libvirt-daemon-system libvirt-clients
...
$ sudo apt -y -q install cloud-image-utils
...
$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/ubuntu/.ssh/id_rsa):
Created directory '/home/ubuntu/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/ubuntu/.ssh/id_rsa.
Your public key has been saved in /home/ubuntu/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:eJnE74biC+t38cLMPhWVawf6m940INrOTCBP+nJOiNE ubuntu@server
The key's randomart image is:
+---[RSA 2048]----+
| . |
| . + |
| o o o |
| . o +o o . |
| . E S o+.. |
| o B.*.... |
| o ++=+= oo |
| +o+O*. oo . |
| .o.oB+o+.. . |
+----[SHA256]-----+
$ cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0zFQvU1Ln6yKk4RcXalgzLKAyoR3ty9LoaO974RGLoVLeoW9e6Dk8Rkc9uVD5a5BPUwXrAXZGUdoPT7pDXrr2R2D+IZ13rCEHO7sYaM5jV8AT0U1lfqEe3YB+M+SOq04VN0E1u0qF9oN4wJsPbwJTk7Vi5o1dta7HZWWgyabYk+hsjXRcg79lJNHVqOyMKVOUwVqfP/kJQwbVsAPQh/6NFVY8h35TJAKjTn/ETXX7vtF4N1NXr7+kCB0Vet/3xbJ9ujNPid9rXAbBWQH8jMIrQrtccmHgs4ctRh8T53WWN6AOFruHgLj/K/qiJpUTaMMqFJGDVFi57abYN+5IWdjJ ubuntu@server
$
$ sudo wget https://cloud-images.ubuntu.com/disco/current/disco-server-cloudimg-s390x.img --directory-prefix=/var/lib/libvirt/images
erver-cloudimg-s390x.img --directory-prefix=/var/lib/libvirt/images
--2019-04-15 06:54:13-- https://cloud-images.ubuntu.com/disco/current/disco-server-cloudimg-s390x.img
Resolving cloud-images.ubuntu.com (cloud-images.ubuntu.com)... 2001:67c:1360:8c01::8001, 91.189.92.141
Connecting to cloud-images.ubuntu.com (cloud-images.ubuntu.com)|2001:67c:1360:8c01::8001|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 446038016 (425M) [application/octet-stream]
Saving to: ‘/var/lib/libvirt/images/disco-server-cloudimg-s390x.img’
disco-server-cloudi 100%[===================>] 425.38M 45.6MB/s in 13s
2019-04-15 06:54:26 (33.7 MB/s) - ‘/var/lib/libvirt/images/disco-server-cloudimg-s390x.img’ saved [446038016/446038016]
$
$ vi ubu-vm-02.xml
$ cat ubu-vm-02.xml
ubu-vm-02
4194304
2
hvm
1
destroy
restart
preserve
$
$ sudo vi /var/lib/libvirt/images/cloud-image-meta-data.xml
$ cat /var/lib/libvirt/images/cloud-image-meta-data.xml
#cloud-config
password:
chpasswd: { expire: False }
ssh_pwauth: True
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0zFQvU1Ln6yKk4RcXalgzLKAyoR3ty9LoaO974RGLoVLeoW9e6Dk8Rkc9uVD5a5BPUwXrAXZGUdoPT7pDXrr2R2D+IZ13rCEHO7sYaM5jV8AT0U1lfqEe3YB+M+SOq04VN0E1u0qF9oN4wJsPbwJTk7Vi5o1dta7HZWWgyabYk+hsjXRcg79lJNHVqOyMKVOUwVqfP/kJQwbVsAPQh/6NFVY8h35TJAKjTn/ETXX7vtF4N1NXr7+kCB0Vet/3xbJ9ujNPid9rXAbBWQH8jMIrQrtccmHgs4ctRh8T53WWN6AOFruHgLj/K/qiJpUTaMMqFJGDVFi57abYN+5IWdjJ ubuntu@server
$
$ sudo apt -y -q install cloud-image-utils
...
$ sudo cloud-localds --verbose -H ubu-vm-02 /var/lib/libvirt/images/cloud-image-meta-data.img /var/lib/libvirt/images/cloud-image-meta-data.xml
wrote cloud-image-meta-data.img with filesystem=iso9660 and diskformat=raw
$ sudo qemu-img create -f qcow2 /var/lib/libvirt/images/ubu-vm-02.qcow2 5G
Formatting '/var/lib/libvirt/images/ubu-vm-02.qcow2', fmt=qcow2 size=5368709120 cluster_size=65536 lazy_refcounts=off refcount_bits=16
$ qemu-img info /var/lib/libvirt/images/ubu-vm-02.qcow2
image: /var/lib/libvirt/images/ubu-vm-02.qcow2
file format: qcow2
virtual size: 5.0G (5368709120 bytes)
disk size: 196K
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
refcount bits: 16
corrupt: false
$
# alternatively:
$ sudo genisoimage -output /var/lib/libvirt/images/cloud-image-meta-data.img -volid clguest -joliet -rock cloud-image-meta-data.cfg
I: -input-charset not specified, using utf-8 (detected in locale settings)
Total translation table size: 0
Total rockridge attributes bytes: 252
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
182 extents written (0 MB)
$
$ sudo chmod +r /var/lib/libvirt/images/
$ ls -la /var/lib/libvirt/images/*
-rw-r--r-- 1 root root 374784 Apr 15 06:57 /var/lib/libvirt/images/cloud-image-meta-data.img
-rw-r--r-- 1 root root 498 Apr 15 06:55 /var/lib/libvirt/images/cloud-image-meta-data.xml
-rw-r--r-- 1 root root 464977920 Apr 15 11:11 /var/lib/libvirt/images/disco-server-cloudimg-s390x.img
-rw-r--r-- 1 root root 196688 Apr 15 06:57 /var/lib/libvirt/images/ubu-vm-01.qcow2
-rw-r--r-- 1 root root 196688 Apr 15 12:49 /var/lib/libvirt/images/ubu-vm-02.qcow2
$ exit
logout
Connection to server closed.
fheimes@T570:~$ ssh ubuntu@server
ubuntu@server's password:
Welcome to Ubuntu Disco Dingo (development branch) (GNU/Linux 5.0.0-11-generic s390x)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Mon Apr 15 12:55:06 EDT 2019
System load: 0.0 Processes: 174
Usage of /: 7.1% of 62.74GB Users logged in: 1
Memory usage: 3% IP address for virbr0: 192.168.122.1
Swap usage: 0%
0 updates can be installed immediately.
0 of these updates are security updates.
Last login: Mon Apr 15 06:12:54 2019 from 10.172.194.67
ubuntu@server:~$ virsh list --all
Id Name State
--------------------
$ virsh define ubu-vm-02.xml
Domain ubu-vm-02 defined from ubu-vm-02.xml
$
$ virsh start --console ubu-vm-02
Domain ubu-vm-02 started
Connected to domain ubu-vm-02
Escape character is ^]
....
[ 0.426257] Linux version 5.0.0-8-generic (buildd@bos02-s390x-012) (gcc version 8.3.0 (Ubuntu 8.3.0-2ubuntu2)) #9-Ubuntu SMP Tue Mar 12 21:57:17 UTC 2019 (Ubuntu 5.0.0-8.9-generic 5.0.1)
[ 0.426259] setup.289988: Linux is running under KVM in 64-bit mode
[ 0.426268] setup.b050d0: The maximum memory size is 4096MB
[ 0.426315] numa.196305: NUMA mode: plain
[ 0.426394] cpu.33a262: 2 configured CPUs, 0 standby CPUs
[ 0.426523] Write protected kernel read-only data: 10732k
[ 0.426566] Zone ranges:
[ 0.426567] DMA [mem 0x0000000000000000-0x000000007fffffff]
[ 0.426569] Normal [mem 0x0000000080000000-0x00000000ffffffff]
[ 0.426570] Movable zone start for each node
[ 0.426571] Early memory node ranges
[ 0.426572] node 0: [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.426573] Initmem setup node 0 [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.473066] percpu: Embedded 25 pages/cpu @(____ptrval____) s62208 r8192 d32000 u102400
[ 0.473091] Built 1 zonelists, mobility grouping on. Total pages: 1032192
[ 0.473092] Policy zone: Normal
[ 0.473094] Kernel command line: root=LABEL=cloudimg-rootfs
[ 0.619855] Memory: 4099164K/4194304K available (8324K kernel code, 1102K rwdata, 2404K rodata, 1008K init, 780K bss, 95140K reserved, 0K cma-reserved)
[ 0.619870] random: get_random_u64 called from kmem_cache_open+0x4c/0x4e8 with crng_init=0
[ 0.620072] SLUB: HWalign=256, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.620075] ftrace: allocating 28019 entries in 110 pages
[ 0.646334] rcu: Hierarchical RCU implementation.
[ 0.646337] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[ 0.646338] Tasks RCU enabled.
[ 0.646339] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.646340] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.648573] NR_IRQS: 3, nr_irqs: 3, preallocated irqs: 3
[ 0.648645] clocksource: tod: mask: 0xffffffffffffffff max_cycles: 0x3b0a9be803b0a9, max_idle_ns: 1805497147909793 ns
[ 0.648672] Console: colour dummy device 80x25
[ 0.648761] printk: console [ttyS1] enabled
[ 0.648849] pid_max: default: 32768 minimum: 301
[ 0.648888] LSM: Security Framework initializing
[ 0.648891] Yama: becoming mindful.
[ 0.648921] AppArmor: AppArmor initialized
[ 0.651716] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.653096] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.653155] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.653201] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.653780] rcu: Hierarchical SRCU implementation.
[ 0.654086] smp: Bringing up secondary CPUs ...
[ 0.654473] smp: Brought up 1 node, 2 CPUs
[ 0.655350] devtmpfs: initialized
[ 0.655713] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.655728] futex hash table entries: 512 (order: 5, 131072 bytes)
[ 0.656022] NET: Registered protocol family 16
[ 0.656054] audit: initializing netlink subsys (disabled)
[ 0.656123] audit: type=2000 audit(1555588591.084:1): state=initialized audit_enabled=0 res=1
[ 0.656182] Spectre V2 mitigation: execute trampolines
[ 0.657408] HugeTLB registered 1.00 MiB page size, pre-allocated 0 pages
[ 0.657866] SCSI subsystem initialized
[ 0.658169] NetLabel: Initializing
[ 0.658170] NetLabel: domain hash size = 128
[ 0.658171] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.658216] NetLabel: unlabeled traffic allowed by default
[ 0.689463] VFS: Disk quotas dquot_6.6.0
[ 0.689481] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.689623] AppArmor: AppArmor Filesystem Enabled
[ 0.690857] NET: Registered protocol family 2
[ 0.691093] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)
[ 0.691184] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.691388] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[ 0.691711] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.691816] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[ 0.691865] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[ 0.691939] NET: Registered protocol family 1
[ 0.691944] NET: Registered protocol family 44
[ 0.691974] Unpacking initramfs...
[ 0.934522] Freeing initrd memory: 14988K
[ 0.934984] kvm-s390.0287fc: SIE not available
[ 0.935005] hypfs.7f5705: The hardware system does not support hypfs
[ 0.935014] hypfs.7a79f0: Initialization of hypfs failed with rc=-61
[ 0.935422] Initialise system trusted keyrings
[ 0.935435] Key type blacklist registered
[ 0.935583] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[ 0.937324] zbud: loaded
[ 0.938036] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.938323] fuse init (API version 7.28)
[ 0.948767] random: fast init done
[ 0.968500] Key type asymmetric registered
[ 0.968504] Asymmetric key parser 'x509' registered
[ 0.968518] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.968563] io scheduler mq-deadline registered
[ 0.968758] hvc_iucv.691dff: The z/VM IUCV HVC device driver cannot be used without z/VM
[ 0.971689] loop: module loaded
[ 0.971748] tun: Universal TUN/TAP device driver, 1.6
[ 0.971859] device-mapper: uevent: version 1.0.3
[ 0.971915] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com
[ 0.972005] cio.b5d5f6: Channel measurement facility initialized using format extended (mode autodetected)
[ 0.972151] sclp_sd.ef2911: Store Data request failed (eq=2, di=3, response=0x40f0, flags=0x00, status=0, rc=-5)
[ 0.972431] NET: Registered protocol family 10
[ 0.977187] Segment Routing with IPv6
[ 0.977207] NET: Registered protocol family 17
[ 0.977248] Key type dns_resolver registered
[ 0.977355] registered taskstats version 1
[ 0.977362] Loading compiled-in X.509 certificates
[ 0.979024] Loaded X.509 cert 'Build time autogenerated kernel key: b66069c3db462f90da2a16424049d78cf5a4b172'
[ 0.979053] zswap: loaded using pool lzo/zbud
[ 0.983517] Key type big_key registered
[ 0.983523] Key type trusted registered
[ 0.985661] Key type encrypted registered
[ 0.985667] AppArmor: AppArmor sha1 policy hashing enabled
[ 0.985675] ima: No TPM chip found, activating TPM-bypass!
[ 0.985680] ima: Allocated hash algorithm: sha1
[ 0.985691] No architecture policies found
[ 0.985708] evm: Initialising EVM extended attributes:
[ 0.985709] evm: security.selinux
[ 0.985711] evm: security.SMACK64
[ 0.985712] evm: security.SMACK64EXEC
[ 0.985712] evm: security.SMACK64TRANSMUTE
[ 0.985713] evm: security.SMACK64MMAP
[ 0.985714] evm: security.apparmor
[ 0.985715] evm: security.ima
[ 0.985716] evm: security.capability
[ 0.985717] evm: HMAC attrs: 0x1
[ 0.986356] Freeing unused kernel memory: 1008K
[ 1.028822] Write protected read-only-after-init data: 84k
[ 1.028828] Run /init as init process
Loading, please wait...
Starting version 240
[ 1.041264] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 1.041612] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 1.041619] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 1.070218] virtio_blk virtio0: [vda] 4612096 512-byte logical blocks (2.36 GB/2.20 GiB)
[ 1.077682] vda: vda1
[ 1.080680] virtio_blk virtio1: [vdb] 732 512-byte logical blocks (375 kB/366 KiB)
[ 1.115936] virtio_net virtio2 enc2: renamed from eth0
Begin: Starting firmware auto-configuration ... done.
Begin: Loading essential drivers ... [ 2.638655] raid6: vx128x8 gen() 20055 MB/s
[ 2.758655] raid6: vx128x8 xor() 11223 MB/s
[ 2.758659] raid6: using algorithm vx128x8 gen() 20055 MB/s
[ 2.758660] raid6: .... xor() 11223 MB/s, rmw enabled
[ 2.758662] raid6: using s390xc recovery algorithm
[ 2.760048] xor: automatically using best checksumming function xc
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... [ 2.811803] Btrfs loaded, crc32c=crc32c-vx
Scanning for Btrfs filesystems
done.
Warning: fsck not present, so skipping root file system
[ 2.841464] EXT4-fs (vda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[ 4.374565] systemd[1]: systemd 240 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 4.374827] systemd[1]: Detected virtualization kvm.
[ 4.374831] systemd[1]: Detected architecture s390x.
Welcome to Ubuntu Disco Dingo (development branch)!
[ 4.429225] systemd[1]: Set hostname to .
[ 5.370463] systemd[386]: /usr/lib/systemd/system-generators/s390-cpi-vars failed with exit status 1.
[ 5.865048] systemd[1]: Listening on LVM2 metadata daemon socket.
[ OK ] Listening on LVM2 metadata daemon socket.
[ 5.865466] systemd[1]: Listening on Journal Audit Socket.
[ OK ] Listening on Journal Audit Socket.
[ 5.865622] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 5.865728] systemd[1]: Reached target User and Group Name Lookups.
[ OK ] Reached target User and Group Name Lookups.
[ 5.865864] systemd[1]: Listening on udev Kernel Socket.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on Device-mapper event daemon FIFOs.
[ OK ] Started Forward Password R…uests to Wall Directory Watch.
[ OK ] Listening on Journal Socket.
Starting Create list of re…odes for the current kernel...
Starting Monitoring of LVM…meventd or progress polling...
Starting Uncomplicated firewall...
Mounting Kernel Debug File System...
Mounting Huge Pages File System...
Starting Load Kernel Modules...
Starting Remount Root and Kernel File Systems...
Starting udev Coldplug all Devices...
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Reached target Swap.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on LVM2 poll daemon socket.
[ OK ] Created slice system-serial\x2dgetty.slice.
Starting Set the console keyboard layout...
[ OK ] Listening on initctl Compatibility Named Pipe.
[ OK ] Set up automount Arbitrary…s File System Automount Point.
Mounting POSIX Message Queue File System...
[ OK ] Listening on Syslog Socket.
Starting Journal Service...
[ OK ] Started Create list of req… nodes for the current kernel.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Mounted Huge Pages File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started udev Coldplug all Devices.
Starting udev Wait for Complete Device Initialization...
[ OK ] Started Uncomplicated firewall.
[ 6.036824] EXT4-fs (vda1): re-mounted. Opts: (null)
[ OK ] Started Remount Root and Kernel File Systems.
Starting Load/Save Random Seed...
Starting Create System Users...
Starting Initial cloud-init job (pre-networking)...
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ 6.157127] Loading iSCSI transport class v2.0-870.
[ 6.246203] systemd-journald[435]: Received request to flush runtime journal from PID 1
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Set the console keyboard layout.
[ 6.422314] iscsi: registered transport (tcp)
[ OK ] Started Create System Users.
Starting Create Static Device Nodes in /dev...
[ 6.670824] iscsi: registered transport (iser)
[ OK ] Started Load Kernel Modules.
Mounting FUSE Control File System...
Starting Apply Kernel Variables...
Mounting Kernel Configuration File System...
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager...
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Dispatch Password …ts to Console Directory Watch.
[ OK ] Reached target Local Encrypted Volumes.
[ OK ] Found device /dev/ttysclp0.
[ OK ] Started udev Wait for Complete Device Initialization.
Starting Device-Mapper Multipath Device Controller...
[ OK ] Started Device-Mapper Multipath Device Controller.
[ OK ] Started LVM2 metadata daemon.
[ OK ] Started Monitoring of LVM2… dmeventd or progress polling.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
Starting Apply Control Program Identification (CPI)...
Starting Set console font and keymap...
Starting Load AppArmor profiles...
Starting Tell Plymouth To Write Out Runtime Data...
Starting Create final runt…dir for shutdown pivot root...
Starting Create Volatile Files and Directories...
[ OK ] Started Set console font and keymap.
[ OK ] Started Create final runtime dir for shutdown pivot root.
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Apply Control Program Identification (CPI).
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Load AppArmor profiles.
[ 10.701627] cloud-init[443]: Cloud-init v. 18.5-62-g6322c2dd-0ubuntu1 running 'init-local' at Thu, 18 Apr 2019 11:56:40 +0000. Up 10.51 seconds.
[ OK ] Started Initial cloud-init job (pre-networking).
[ OK ] Reached target Network (Pre).
Starting Network Service...
[ OK ] Started Network Service.
Starting Wait for Network to be Configured...
Starting Network Name Resolution...
[ OK ] Started Wait for Network to be Configured.
Starting Initial cloud-ini… (metadata service crawler)...
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Reached target Network.
[ 11.216004] cloud-init[647]: Cloud-init v. 18.5-62-g6322c2dd-0ubuntu1 running 'init' at Thu, 18 Apr 2019 11:56:41 +0000. Up 11.10 seconds.
[ 11.216185] cloud-init[647]: ci-info: +++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++
[ 11.216285] cloud-init[647]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+
[ 11.216382] cloud-init[647]: ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
[ 11.216455] cloud-init[647]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+
[ 11.216538] cloud-init[647]: ci-info: | enc2 | False | . | . | . | 52:54:00:56:44:a7 |
[ 11.216646] cloud-init[647]: ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
[ 11.216725] cloud-init[647]: ci-info: | lo | True | ::1/128 | . | host | . |
[ 11.216798] cloud-init[647]: ci-info: +--------+-------+-----------+-----------+-------+-------------------+
[ 11.216893] cloud-init[647]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
[ 11.216952] cloud-init[647]: ci-info: +-------+-------------+---------+-----------+-------+
[ 11.217024] cloud-init[647]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[ 11.217098] cloud-init[647]: ci-info: +-------+-------------+---------+-----------+-------+
[ 11.217175] cloud-init[647]: ci-info: +-------+-------------+---------+-----------+-------+
[ OK ] Started Initial cloud-init…ob (metadata service crawler).
[ OK ] Reached target Network is Online.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
Starting Availability of block devices...
[ OK ] Reached target System Initialization.
[ OK ] Started Discard unused blocks once a week.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Paths.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Started Daily man-db regeneration.
[ OK ] Started Message of the Day.
[ OK ] Listening on UUID daemon activation socket.
[ OK ] Listening on Open-iSCSI iscsid Socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Started Daily rotation of log files.
[ OK ] Reached target Timers.
Starting Socket activation for snappy daemon.
[ OK ] Reached target Cloud-config availability.
[ OK ] Started Availability of block devices.
[ OK ] Listening on Socket activation for snappy daemon.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Deferred execution scheduler...
Starting LSB: automatic crash report generation...
[ OK ] Started Save initial kernel messages after boot.
Starting System Logging Service...
[ OK ] Started Regular background program processing daemon.
Starting Login Service...
[ OK ] Started D-Bus System Message Bus.
Starting Dispatcher daemon for systemd-networkd...
Starting Accounts Service...
[ OK ] Started irqbalance daemon.
Starting Permit User Sessions...
Starting OpenBSD Secure Shell server...
Starting Configure dump on panic for System z...
Starting Snappy daemon...
Starting Daily man-db regeneration...
Starting Rotate log files...
[ OK ] Started Deferred execution scheduler.
[ OK ] Started Permit User Sessions.
Starting Terminate Plymouth Boot Screen...
Starting Hold until boot process finishes up...
[ OK ] Started Hold until boot process finishes up.
[ OK ] Started Serial Getty on ttysclp0.
Starting Set console scheme...
[ OK ] Started Login Service.
[ OK ] Started Configure dump on panic for System z.
[ OK ] Started Rotate log files.
[ OK ] Started Terminate Plymouth Boot Screen.
[ OK ] Started Set console scheme.
[ OK ] Created slice system-getty.slice.
[ OK ] Started Getty on tty1.
[ OK ] Reached target Login Prompts.
[ OK ] Started Unattended Upgrades Shutdown.
[ OK ] Started System Logging Service.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Started LSB: automatic crash report generation.
[ OK ] Started Dispatcher daemon for systemd-networkd.
[ OK ] Started Accounts Service.
[ OK ] Started Snappy daemon.
Starting Wait until snapd is fully seeded...
[ OK ] Started Daily man-db regeneration.
Ubuntu Disco Dingo (development branch) ubu-vm-02 ttysclp0
ubu-vm-02 login: Mounting Mount unit for core, revision 6672...
[ OK ] Mounted Mount unit for core, revision 6672.
[ OK ] Stopped Snappy daemon.
Starting Snappy daemon...
[ OK ] Started Snappy daemon.
Mounting Mount unit for lxd, revision 10534...
[ OK ] Mounted Mount unit for lxd, revision 10534.
[ OK ] Listening on Socket unix for snap application lxd.daemon.
Starting Service for snap application lxd.activate...
[ OK ] Started Service for snap application lxd.activate.
[ OK ] Started Wait until snapd is fully seeded.
Starting Apply the settings specified in cloud-config...
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
[ 73.664735] cloud-init[1600]: Cloud-init v. 18.5-62-g6322c2dd-0ubuntu1 running 'modules:config' at Thu, 18 Apr 2019 11:57:44 +0000. Up 73.59 seconds.
[ OK ] Started Apply the settings specified in cloud-config.
Starting Execute cloud user/final scripts...
[ 74.027138] cloud-init[1614]: Cloud-init v. 18.5-62-g6322c2dd-0ubuntu1 running 'modules:final' at Thu, 18 Apr 2019 11:57:44 +0000. Up 73.92 seconds.
[ 74.027346] cloud-init[1614]: Cloud-init v. 18.5-62-g6322c2dd-0ubuntu1 finished at Thu, 18 Apr 2019 11:57:44 +0000. Datasource DataSourceNoCloud [seed=/dev/vdb][dsmode=net]. Up 74.02 seconds
[ OK ] Started Execute cloud user/final scripts.
Starting Daily apt download activities...
[ OK ] Reached target Cloud-init target.
[ OK ] Started Daily apt download activities.
Starting Daily apt upgrade and clean activities...
[ OK ] Started Daily apt upgrade and clean activities.
ubu-vm-02 login: ubuntu
Password:
Last login: Mon Apr 15 15:09:25 UTC 2019 on ttysclp0
Welcome to Ubuntu Disco Dingo (development branch) (GNU/Linux 5.0.0-8-generic s390x)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Thu Apr 18 12:00:33 UTC 2019
System load: 0.04 Memory usage: 4% Processes: 100
Usage of /: 48.8% of 2.07GB Swap usage: 0% Users logged in: 0
0 packages can be updated.
0 updates are security updates.
$ exit
logout
Ubuntu Disco Dingo (development branch) ubu-vm-02 ttysclp0
ubu-vm-02 login: ]
$ virsh list --all
Id Name State
---------------------------
1 ubu-vm-02 running
$
$ virsh destroy ubu-vm-02
Domain ubu-vm-02 destroyed
$ virsh list --all
Id Name State
----------------------------
- ubu-vm-02 shut off
$