Gu3 6 years ago
commit
56de99cfd7

+ 9 - 0
.gitignore

@@ -0,0 +1,9 @@
+/.idea
+/.project
+/mysqldata/*
+/elasticsearchdata/*
+/apps/*
+/.vagrant
+/.ssh/*
+/Vagrantfile
+/ubuntu-bionic-18.04-cloudimg-console.log

+ 92 - 0
README

@@ -0,0 +1,92 @@
+docker-compose build
+docker-compose up
+
+
+=========== A faire en plus.....  ===========
+
+=========== Container DB ===================
+//Se connecter a db
+docker exec -it db bash
+
+//Récupérer les BDDs via un synchro.sh
+// !!!! Pensez à adapter le commonvar_local suivant les synchros voulues !!!!!
+cd env
+./synchro.sh -d -n opentalent
+./synchro.sh -d -n adminassos
+./synchro.sh -d -n crm
+./synchro.sh -d -n openassos
+=========== Container DB ===================
+
+
+=========== Container PHP ===================
+//Se connecter a opentalent-platform
+docker exec -it php bash
+//Faire un composer install...
+//Host de la BDD : db, Login : root, Pass : mysql660
+composer install
+
+//Mettre les bons droits...
+HTTPDUSER=$(ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1)
+setfacl -dR -m u:"$HTTPDUSER":rwX -m u:$(whoami):rwX app/cache app/logs
+setfacl -R -m u:"$HTTPDUSER":rwX -m u:$(whoami):rwX app/cache app/logs
+=========== Container PHP ===================
+
+
+
+=========== Container FRONT ===================
+//Se connecter a opentalent-platform
+//Compiler le dossier model du module Ruler
+cd module/ruler
+babel --presets=es2015 model/**/*.js model/*.js -d lib
+npm link
+npm link @opentalent/ruler
+jison -t rulerz.jison
+=========== Container FRONT ===================
+
+
+
+
+=========== MEMO DOCKER ====================
+//Tagger une image docker
+docker -t vinceguf/apache:2.4 ./Docker/apache2.4/
+
+//build une image et la tagger
+docker build -t vinceguf/apache:2.4 ./Docker/apache2.4/
+
+//Build docker compose
+docker-compose build
+
+//Lancer le docker-compose == lancer les containers
+docker-compose up
+
+//Stopper le docker-compose == stopper les containers
+docker-compose stop
+
+//Stopper tous les containers quelque soit le docker-compose
+docker stop $(docker ps -a -q)
+
+//Supprimer tous les container Docker
+docker rm $(docker ps -a -q)
+
+//Supprimer toutes les images Docker
+docker rmi $(docker images -q)
+
+//Lister les proccess Docker
+docker ps
+
+//Lister les containers actifs
+docker container ls
+
+//Lister tous les containers
+docker container ls -a
+
+//Lister les images
+docker images
+
+//Entrer dans un container en bash
+docker exec -it db bash   ==> db étant le container name que l'on retrouve en faisant docker ps
+
+//Docker compose a une facheuse tendance à conserver des config entre chaque lancement (comme la config de la BDD)
+//si par exemple, on arrive pas à se connecter à la BDD à cause d'un Access Denied, il faut faire:
+docker-compose rm -v
+=========== MEMO DOCKER ====================

+ 103 - 0
docker-compose.yaml

@@ -0,0 +1,103 @@
+volumes:
+  mysqldata: ~
+  elasticsearchdata: ~
+  # On rajoute un volume (de données non accessibles en dehors)
+  appdata: ~
+
+version: '3.3'
+services:
+  front:
+    container_name: front
+    build:
+      context: .
+      dockerfile: docker/node/Dockerfile
+    volumes:
+      - ./apps/opentalent-admin-2.0:/home/workspace:rw,cached
+    ports:
+      - '3000:3000'
+      - '3001:3001'
+    tty: true
+
+  es:
+    container_name: es
+    image: elasticsearch:2.4.6
+    restart: always
+    volumes:
+      - ./elasticsearchdata:/usr/share/elasticsearch/data:cached
+      - ./docker/elasticsearch/conf/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:cached
+    environment:
+      - cluster.name=docker-cluster
+      - bootstrap.memory_lock=true
+      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
+    ulimits:
+      memlock:
+        soft: -1
+        hard: -1
+    ports:
+      - '9200:9200'
+
+  db:
+    container_name: mariaDb
+    build:
+      context: .
+      dockerfile: docker/mariaDb/Dockerfile
+    restart: always
+    volumes:
+      - ./mysqldata:/var/lib/mysql:cached
+      - ./apps/env:/env:cached
+    environment:
+      MYSQL_ROOT_PASSWORD: mysql660
+    ports:
+      - '3306:3306'
+
+  web:
+    container_name: nginx
+    image: nginx:latest
+    volumes:
+      - ./apps/opentalent-platform:/var/www/html:rw,cached
+      - ./docker/nginx/site.conf:/etc/nginx/conf.d/site.conf:cached
+    ports:
+      - '8080:80'
+    depends_on:
+      - php
+
+  php:
+    container_name: php
+    build:
+      context: .
+      dockerfile: docker/php/Dockerfile
+    restart: always
+    volumes:
+      - ./apps/.bash_history:/root/.bash_history:cached
+      - ./apps/opentalent-platform:/var/www/html:rw,cached
+      # Version Symfony 2
+      - appdata:/var/www/html/app/cache/
+      - appdata:/var/www/html/app/logs/
+      # Le code sera surtout modifié en dehors du container, donc la consistence est prioritairement dans ce sens
+      - ./apps/opentalent-platform:/var/www/html/:cached
+      # A l'inverse, les vendors seront surtout modifiés dans le container
+      - ./apps/opentalent-platform/vendor:/var/www/html/vendor:delegated
+    depends_on:
+      - db
+      - es
+
+#  adminassos:
+#    container_name: adminassos
+#    build:
+#      context: .
+#      dockerfile: docker/adminassos/Dockerfile
+#    restart: always
+#    volumes:
+#      - ./apps/opentalent:/var/source/opentalent:rw,cached
+#      - ./apps/vendor:/var/source/vendor:rw,cached
+#      - ./apps/opentalent-config:/var/source/config:rw,cached
+#      -
+
+  phpmyadmin:
+    container_name: phpMyAdmin
+    image: phpmyadmin/phpmyadmin
+    restart: always
+    ports:
+      - '8081:80'
+    depends_on:
+      - db

+ 8 - 0
docker/adminassos/Dockerfile

@@ -0,0 +1,8 @@
+# ./docker/php/Dockerfile
+FROM ubuntu:16.4
+
+RUN apt-get update && apt-get upgrade -y
+RUN apt-get install nano -y
+
+
+WORKDIR /var/www/html

+ 18 - 0
docker/adminassos/conf/bases.xml

@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Document   : bases.xml
+    Created on : 22 octobre 2009, 09:20
+    Author     : fabrice
+    Description:
+        Purpose of the document follows.
+-->
+<bases>
+    <HTTP_HOST name="default">
+        <adminassos host="db" password ="mysql660" username="root" databaseName="adminassos"/>
+        <commercial host="db" password = "mysql660" username="root" databaseName="commercial"/>
+        <crm host="db" password ="mysql660" username="root" databaseName="crm"/>
+        <openassos host="db" password ="mysql660" username="root" databaseName="openassos"/>
+        <opentalent host="db" password ="mysql660" username="root" databaseName="opentalent"/>
+    </HTTP_HOST>
+</bases>

+ 12 - 0
docker/adminassos/conf/mail_local.xml

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Document   : mail_local.xml
+    Created on :
+    Author     : michel
+    Description: Configuration du smpt local
+-->
+
+<mail_local>
+    <config_mail mailcatcher="off" from="contact@openassos.fr" to="support@opentalent.fr"/>
+</mail_local>

+ 10 - 0
docker/adminassos/conf/nocturial.xml

@@ -0,0 +1,10 @@
+<!--
+To change this license header, choose License Headers in Project Properties.
+To change this template file, choose Tools | Templates
+and open the template in the editor.
+-->
+
+
+<nocturial>
+    <userUploadFolder dir_absolute="/var/www/opentalent/fileadmin/user_upload" dir_absolute_typo3="/var/www/opentalent/fileadmin/user_upload" />
+</nocturial>

+ 20 - 0
docker/adminassos/conf/tracker.xml

@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+    Document : bases.xml
+    Created on : 22 octobre 2009, 09:20
+    Author : fabrice
+    Description:
+        Purpose of the document follows.
+-->
+
+<tracker>
+    <tables>
+        <table>oa_payment_fede</table>
+        <table>oa_payment_fede_detail</table>
+        <table>oa_payment_fede_term</table>
+        <table>oa_assos_frame</table>
+        <table>oa_assos_frame_detail</table>
+        <table>oa_assos_composition</table>
+    </tables>
+</tracker>

+ 4 - 0
docker/elasticsearch/conf/elasticsearch.yml

@@ -0,0 +1,4 @@
+network.host: 0.0.0.0
+index.mapping.nested_fields.limit: 1001
+index.query.bool.max_clause_count: 8192
+bootstrap.mlockall: true

+ 14 - 0
docker/mariaDb/Dockerfile

@@ -0,0 +1,14 @@
+# ./docker/php/Dockerfile
+FROM mariadb:10.4
+
+RUN apt-get update && apt-get upgrade -y
+RUN apt install openssh-server -y
+
+RUN apt-get install nano -y
+
+COPY /apps/opentalent-platform/migration /usr/src
+COPY /apps/env /env/
+COPY /.ssh /root/.ssh
+COPY /docker/mariaDb/conf/my.cnf /etc/mysql/conf.d/
+
+WORKDIR /usr/src

+ 4 - 0
docker/mariaDb/conf/my.cnf

@@ -0,0 +1,4 @@
+[mysqld]
+sql-mode="NO_ENGINE_SUBSTITUTION"
+group_concat_max_len=100000
+max_allowed_packet=500M

+ 38 - 0
docker/nginx/site.conf

@@ -0,0 +1,38 @@
+server {
+    listen 80;
+    index index.php;
+    server_name local.api.opentalent.fr;
+    root /var/www/html/web;
+
+    location / {
+        # try to serve file directly, fallback to app.php
+        try_files $uri /app_dev.php$is_args$args;
+    }
+
+    # DEV
+    # This rule should only be placed on your development environment
+    # In production, don't include this and don't deploy app_dev.php or config.php
+    location ~ ^/(app_dev|config)\.php(/|$) {
+        fastcgi_pass php:9000;
+        fastcgi_split_path_info ^(.+\.php)(/.*)$;
+        include fastcgi_params;
+        # When you are using symlinks to link the document root to the
+        # current version of your application, you should pass the real
+        # application path instead of the path to the symlink to PHP
+        # FPM.
+        # Otherwise, PHP's OPcache may not properly detect changes to
+        # your PHP files (see https://github.com/zendtech/ZendOptimizerPlus/issues/126
+        # for more information).
+        fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
+        fastcgi_param DOCUMENT_ROOT $realpath_root;
+    }
+
+    # return 404 for all other php files not matching the front controller
+    # this prevents access to other php files you don't want to be accessible.
+    location ~ \.php$ {
+        return 404;
+    }
+
+    error_log /var/log/nginx/project_error.log;
+    access_log /var/log/nginx/project_access.log;
+}

+ 32 - 0
docker/node/Dockerfile

@@ -0,0 +1,32 @@
+# Pull base image.
+FROM node:4.2.6
+
+ENV WORKDIR /home/workspace
+
+# Define working directory.
+WORKDIR ${WORKDIR}
+
+RUN npm install npm@3.5.2
+RUN rm -rf /usr/local/lib/node_modules/npm
+RUN mv node_modules/npm /usr/local/lib/node_modules/npm
+
+RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list
+
+RUN apt-get update && apt-get upgrade -y
+
+# Install dependencies
+RUN apt-get install -yqq --no-install-recommends git bzip2 curl unzip && \
+    npm install -g gulp bower jison babel-cli typescript@next && \
+    npm cache clean && \
+    apt-get -yqq autoremove && \
+    apt-get -yqq clean && \
+    rm -rf /var/lib/apt/lists/* /var/cache/* /tmp/* /var/tmp/*
+
+# Allow root for bower
+RUN echo '{ "allow_root": true }' > /root/.bowerrc
+
+#RUN rm -rf node_modules
+#RUN npm install
+
+#RUN rm -rf bower_components
+#RUN bower install

+ 49 - 0
docker/php/Dockerfile

@@ -0,0 +1,49 @@
+# ./docker/php/Dockerfile
+FROM php:7.0.33-fpm
+
+RUN apt-get update && apt-get upgrade -y --no-install-recommends
+
+### WKHTMLTOPDF
+RUN apt-get install -y ca-certificates wget xz-utils libxrender1 libxt6 libxtst6 fontconfig \
+	&& wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz \
+	&& tar -xf wkhtmltox-0.12.4_linux-generic-amd64.tar.xz \
+	&& cp wkhtmltox/bin/* /usr/local/bin \
+	&& rm -rf wkhtmltox*
+
+## GIT
+RUN apt-get install git -y
+
+## NANO
+RUN apt-get install nano -y
+
+## ACL
+RUN apt-get install acl -y
+
+## OP CACHE, PDO, BC MATH, CALENDAR, PROCPS
+RUN docker-php-ext-install opcache
+RUN docker-php-ext-install pdo_mysql
+RUN docker-php-ext-install bcmath
+RUN docker-php-ext-install calendar
+RUN apt-get install -y procps
+
+## APCU
+RUN pecl install apcu-5.1.17
+RUN pecl install apcu_bc
+
+## COMPOSER
+RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
+    && php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" \
+    && php composer-setup.php \
+    && php -r "unlink('composer-setup.php');" \
+    && mv composer.phar /usr/local/bin/composer
+
+COPY /.ssh /root/.ssh
+COPY /docker/php/conf/memory.ini /usr/local/etc/php/conf.d
+COPY /docker/php/conf/apc.ini /usr/local/etc/php/conf.d
+
+WORKDIR /var/www/html
+
+
+
+
+

+ 2 - 0
docker/php/conf/apc.ini

@@ -0,0 +1,2 @@
+extension=apcu.so
+extension=apc.so

+ 1 - 0
docker/php/conf/memory.ini

@@ -0,0 +1 @@
+memory_limit=4096M

+ 643 - 0
docker/ubuntu-bionic-18.04-cloudimg-console.log

@@ -0,0 +1,643 @@
+[    0.000000] Linux version 4.15.0-50-generic (buildd@lcy01-amd64-013) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #54-Ubuntu SMP Mon May 6 18:46:08 UTC 2019 (Ubuntu 4.15.0-50.54-generic 4.15.18)
+[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-50-generic root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0
+[    0.000000] KERNEL supported cpus:
+[    0.000000]   Intel GenuineIntel
+[    0.000000]   AMD AuthenticAMD
+[    0.000000]   Centaur CentaurHauls
+[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
+[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
+[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
+[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
+[    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
+[    0.000000] e820: BIOS-provided physical RAM map:
+[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
+[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
+[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
+[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000dffeffff] usable
+[    0.000000] BIOS-e820: [mem 0x00000000dfff0000-0x00000000dfffffff] ACPI data
+[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
+[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
+[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
+[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000030dffffff] usable
+[    0.000000] NX (Execute Disable) protection: active
+[    0.000000] SMBIOS 2.5 present.
+[    0.000000] DMI: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
+[    0.000000] Hypervisor detected: KVM
+[    0.000000] e820: last_pfn = 0x30e000 max_arch_pfn = 0x400000000
+[    0.000000] MTRR: Disabled
+[    0.000000] x86/PAT: MTRRs disabled, skipping PAT initialization too.
+[    0.000000] CPU MTRRs all blank - virtualized system.
+[    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
+[    0.000000] e820: last_pfn = 0xdfff0 max_arch_pfn = 0x400000000
+[    0.000000] found SMP MP-table at [mem 0x0009fff0-0x0009ffff] mapped at [        (ptrval)]
+[    0.000000] Scanning 1 areas for low memory corruption
+[    0.000000] RAMDISK: [mem 0x35adb000-0x36d64fff]
+[    0.000000] ACPI: Early table checksum verification disabled
+[    0.000000] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX  )
+[    0.000000] ACPI: XSDT 0x00000000DFFF0030 00003C (v01 VBOX   VBOXXSDT 00000001 ASL  00000061)
+[    0.000000] ACPI: FACP 0x00000000DFFF00F0 0000F4 (v04 VBOX   VBOXFACP 00000001 ASL  00000061)
+[    0.000000] ACPI: DSDT 0x00000000DFFF0490 0022EA (v02 VBOX   VBOXBIOS 00000002 INTL 20100528)
+[    0.000000] ACPI: FACS 0x00000000DFFF0200 000040
+[    0.000000] ACPI: FACS 0x00000000DFFF0200 000040
+[    0.000000] ACPI: APIC 0x00000000DFFF0240 00007C (v02 VBOX   VBOXAPIC 00000001 ASL  00000061)
+[    0.000000] ACPI: SSDT 0x00000000DFFF02C0 0001CC (v01 VBOX   VBOXCPUT 00000002 INTL 20100528)
+[    0.000000] No NUMA configuration found
+[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000030dffffff]
+[    0.000000] NODE_DATA(0) allocated [mem 0x30dfce000-0x30dff8fff]
+[    0.000000] kvm-clock: cpu 0, msr 3:df4d001, primary cpu clock
+[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
+[    0.000000] kvm-clock: using sched offset of 3657113218 cycles
+[    0.000000] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
+[    0.000000] Zone ranges:
+[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
+[    0.000000]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
+[    0.000000]   Normal   [mem 0x0000000100000000-0x000000030dffffff]
+[    0.000000]   Device   empty
+[    0.000000] Movable zone start for each node
+[    0.000000] Early memory node ranges
+[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
+[    0.000000]   node   0: [mem 0x0000000000100000-0x00000000dffeffff]
+[    0.000000]   node   0: [mem 0x0000000100000000-0x000000030dffffff]
+[    0.000000] Reserved but unavailable: 114 pages
+[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000030dffffff]
+[    0.000000] ACPI: PM-Timer IO Port: 0x4008
+[    0.000000] IOAPIC[0]: apic_id 6, version 32, address 0xfec00000, GSI 0-23
+[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
+[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
+[    0.000000] Using ACPI (MADT) for SMP configuration information
+[    0.000000] smpboot: Allowing 6 CPUs, 0 hotplug CPUs
+[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
+[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
+[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
+[    0.000000] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
+[    0.000000] PM: Registered nosave memory: [mem 0xdfff0000-0xdfffffff]
+[    0.000000] PM: Registered nosave memory: [mem 0xe0000000-0xfebfffff]
+[    0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
+[    0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfedfffff]
+[    0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
+[    0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xfffbffff]
+[    0.000000] PM: Registered nosave memory: [mem 0xfffc0000-0xffffffff]
+[    0.000000] e820: [mem 0xe0000000-0xfebfffff] available for PCI devices
+[    0.000000] Booting paravirtualized kernel on KVM
+[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
+[    0.000000] random: get_random_bytes called from start_kernel+0x99/0x4fd with crng_init=0
+[    0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:6 nr_cpu_ids:6 nr_node_ids:1
+[    0.000000] percpu: Embedded 46 pages/cpu @        (ptrval) s151552 r8192 d28672 u262144
+[    0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
+[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 3023865
+[    0.000000] Policy zone: Normal
+[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.15.0-50-generic root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyS0
+[    0.000000] Memory: 11980172K/12287544K available (12300K kernel code, 2474K rwdata, 4276K rodata, 2412K init, 2416K bss, 307372K reserved, 0K cma-reserved)
+[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
+[    0.000000] Kernel/User page tables isolation: enabled
+[    0.000000] ftrace: allocating 39233 entries in 154 pages
+[    0.004000] Hierarchical RCU implementation.
+[    0.004000] 	RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=6.
+[    0.004000] 	Tasks RCU enabled.
+[    0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
+[    0.004000] NR_IRQS: 524544, nr_irqs: 472, preallocated irqs: 16
+[    0.004000] Console: colour VGA+ 80x25
+[    0.004000] console [tty1] enabled
+[    0.004000] console [ttyS0] enabled
+[    0.004000] ACPI: Core revision 20170831
+[    0.004000] ACPI: 2 ACPI AML tables successfully acquired and loaded
+[    0.004000] APIC: Switch to symmetric I/O mode setup
+[    0.004000] x2apic enabled
+[    0.004000] Switched APIC routing to physical x2apic.
+[    0.004000] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
+[    0.004003] tsc: Detected 2207.998 MHz processor
+[    0.004897] Calibrating delay loop (skipped) preset value.. 4415.99 BogoMIPS (lpj=8831992)
+[    0.005750] pid_max: default: 32768 minimum: 301
+[    0.008028] Security Framework initialized
+[    0.008815] Yama: becoming mindful.
+[    0.009682] AppArmor: AppArmor initialized
+[    0.021212] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes)
+[    0.028111] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes)
+[    0.029952] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes)
+[    0.032005] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes)
+[    0.033716] mce: CPU supports 0 MCE banks
+[    0.034541] Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
+[    0.036001] Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
+[    0.037517] Spectre V2 : Mitigation: Full generic retpoline
+[    0.038534] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
+[    0.040001] Speculative Store Bypass: Vulnerable
+[    0.041110] MDS: Mitigation: Clear CPU buffers
+[    0.042123] Freeing SMP alternatives memory: 36K
+[    0.048000] smpboot: CPU0: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (family: 0x6, model: 0x9e, stepping: 0xa)
+[    0.048000] Performance Events: unsupported p6 CPU model 158 no PMU driver, software events only.
+[    0.048029] Hierarchical SRCU implementation.
+[    0.049362] NMI watchdog: Perf event create on CPU 0 failed with -2
+[    0.051012] NMI watchdog: Perf NMI watchdog permanently disabled
+[    0.052060] smp: Bringing up secondary CPUs ...
+[    0.053105] x86: Booting SMP configuration:
+[    0.053880] .... node  #0, CPUs:      #1
+[    0.004000] kvm-clock: cpu 1, msr 3:df4d041, secondary cpu clock
+[    0.004000] mce: CPU supports 0 MCE banks
+[    0.059126]  #2
+[    0.004000] kvm-clock: cpu 2, msr 3:df4d081, secondary cpu clock
+[    0.004000] mce: CPU supports 0 MCE banks
+[    0.064058]  #3
+[    0.004000] kvm-clock: cpu 3, msr 3:df4d0c1, secondary cpu clock
+[    0.004000] mce: CPU supports 0 MCE banks
+[    0.068057]  #4
+[    0.004000] kvm-clock: cpu 4, msr 3:df4d101, secondary cpu clock
+[    0.004000] mce: CPU supports 0 MCE banks
+[    0.072103]  #5
+[    0.004000] kvm-clock: cpu 5, msr 3:df4d141, secondary cpu clock
+[    0.004000] mce: CPU supports 0 MCE banks
+[    0.076014] smp: Brought up 1 node, 6 CPUs
+[    0.077311] smpboot: Max logical packages: 1
+[    0.080002] smpboot: Total of 6 processors activated (26495.97 BogoMIPS)
+[    0.081595] devtmpfs: initialized
+[    0.081595] x86/mm: Memory block size: 128MB
+[    0.085692] evm: security.selinux
+[    0.086355] evm: security.SMACK64
+[    0.086976] evm: security.SMACK64EXEC
+[    0.087946] evm: security.SMACK64TRANSMUTE
+[    0.088003] evm: security.SMACK64MMAP
+[    0.089324] evm: security.apparmor
+[    0.090329] evm: security.ima
+[    0.092019] evm: security.capability
+[    0.093142] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
+[    0.096011] futex hash table entries: 2048 (order: 5, 131072 bytes)
+[    0.097713] pinctrl core: initialized pinctrl subsystem
+[    0.098779] RTC time: 14:53:14, date: 05/24/19
+[    0.100247] NET: Registered protocol family 16
+[    0.101262] audit: initializing netlink subsys (disabled)
+[    0.102256] audit: type=2000 audit(1558709599.337:1): state=initialized audit_enabled=0 res=1
+[    0.104006] cpuidle: using governor ladder
+[    0.104784] cpuidle: using governor menu
+[    0.105536] ACPI: bus type PCI registered
+[    0.106559] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
+[    0.108091] PCI: Using configuration type 1 for base access
+[    0.109214] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
+[    0.112067] ACPI: Added _OSI(Module Device)
+[    0.113134] ACPI: Added _OSI(Processor Device)
+[    0.114007] ACPI: Added _OSI(3.0 _SCP Extensions)
+[    0.116003] ACPI: Added _OSI(Processor Aggregator Device)
+[    0.117250] ACPI: Added _OSI(Linux-Dell-Video)
+[    0.118060] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
+[    0.119129] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
+[    0.120345] ACPI: Executed 1 blocks of module-level executable AML code
+[    0.125484] ACPI: Interpreter enabled
+[    0.126601] ACPI: (supports S0 S5)
+[    0.127245] ACPI: Using IOAPIC for interrupt routing
+[    0.128169] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
+[    0.130194] ACPI: Enabled 2 GPEs in block 00 to 07
+[    0.137277] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
+[    0.138773] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
+[    0.140351] acpi PNP0A03:00: _OSC: not requesting OS control; OS requires [ExtendedConfig ASPM ClockPM MSI]
+[    0.144023] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
+[    0.146713] PCI host bridge to bus 0000:00
+[    0.148003] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
+[    0.149527] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
+[    0.150757] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
+[    0.152003] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xfdffffff window]
+[    0.153867] pci_bus 0000:00: root bus resource [bus 00-ff]
+[    0.158144] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
+[    0.159470] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
+[    0.160002] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
+[    0.161330] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
+[    0.264441] pci 0000:00:07.0: quirk: [io  0x4000-0x403f] claimed by PIIX4 ACPI
+[    0.266239] pci 0000:00:07.0: quirk: [io  0x4100-0x410f] claimed by PIIX4 SMB
+[    0.333408] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 9 10 *11)
+[    0.335082] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 *10 11)
+[    0.336127] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 *9 10 11)
+[    0.337721] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 9 10 *11)
+[    0.339087] SCSI subsystem initialized
+[    0.341370] pci 0000:00:02.0: vgaarb: setting as boot VGA device
+[    0.341619] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
+[    0.344006] pci 0000:00:02.0: vgaarb: bridge control possible
+[    0.345056] vgaarb: loaded
+[    0.345621] ACPI: bus type USB registered
+[    0.346480] usbcore: registered new interface driver usbfs
+[    0.348008] usbcore: registered new interface driver hub
+[    0.349115] usbcore: registered new device driver usb
+[    0.350413] EDAC MC: Ver: 3.0.0
+[    0.352169] PCI: Using ACPI for IRQ routing
+[    0.353204] NetLabel: Initializing
+[    0.353940] NetLabel:  domain hash size = 128
+[    0.354754] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
+[    0.356014] NetLabel:  unlabeled traffic allowed by default
+[    0.357350] clocksource: Switched to clocksource kvm-clock
+[    0.367468] VFS: Disk quotas dquot_6.6.0
+[    0.368778] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
+[    0.370646] AppArmor: AppArmor Filesystem Enabled
+[    0.371551] pnp: PnP ACPI init
+[    0.373265] pnp: PnP ACPI: found 3 devices
+[    0.383445] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
+[    0.385447] NET: Registered protocol family 2
+[    0.386452] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
+[    0.389096] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
+[    0.390401] TCP: Hash tables configured (established 131072 bind 65536)
+[    0.391626] UDP hash table entries: 8192 (order: 6, 262144 bytes)
+[    0.392872] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes)
+[    0.394096] NET: Registered protocol family 1
+[    0.394918] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
+[    0.396094] pci 0000:00:01.0: Activating ISA DMA hang workarounds
+[    0.397281] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
+[    0.398937] Unpacking initramfs...
+[    0.618855] Freeing initrd memory: 18984K
+[    0.620203] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
+[    0.622114] software IO TLB [mem 0xdbff0000-0xdfff0000] (64MB) mapped at [        (ptrval)-        (ptrval)]
+[    0.623888] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1fd3b6211b4, max_idle_ns: 440795230313 ns
+[    0.625704] platform rtc_cmos: registered platform RTC device (no PNP device found)
+[    0.627090] Scanning for low memory corruption every 60 seconds
+[    0.628789] Initialise system trusted keyrings
+[    0.629626] Key type blacklist registered
+[    0.630499] workingset: timestamp_bits=36 max_order=22 bucket_order=0
+[    0.632945] zbud: loaded
+[    0.635443] squashfs: version 4.0 (2009/01/31) Phillip Lougher
+[    0.637112] fuse init (API version 7.26)
+[    0.640574] Key type asymmetric registered
+[    0.641535] Asymmetric key parser 'x509' registered
+[    0.642442] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
+[    0.643978] io scheduler noop registered
+[    0.644873] io scheduler deadline registered
+[    0.645694] io scheduler cfq registered (default)
+[    0.647221] ACPI: AC Adapter [AC] (off-line)
+[    0.648493] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
+[    0.649942] ACPI: Power Button [PWRF]
+[    0.650838] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
+[    0.652457] ACPI: Sleep Button [SLPF]
+[    0.654450] ACPI: Battery Slot [BAT0] (battery present)
+[    0.656368] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
+[    0.678758] 00:02: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
+[    0.684647] Linux agpgart interface v0.103
+[    0.688544] loop: module loaded
+[    0.689684] scsi host0: ata_piix
+[    0.690450] scsi host1: ata_piix
+[    0.691161] ata1: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xd000 irq 14
+[    0.692621] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xd008 irq 15
+[    0.693941] libphy: Fixed MDIO Bus: probed
+[    0.694895] tun: Universal TUN/TAP device driver, 1.6
+[    0.696299] PPP generic driver version 2.4.2
+[    0.697207] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
+[    0.698400] ehci-pci: EHCI PCI platform driver
+[    0.699241] ehci-platform: EHCI generic platform driver
+[    0.700439] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
+[    0.701824] ohci-pci: OHCI PCI platform driver
+[    0.702919] ohci-platform: OHCI generic platform driver
+[    0.703903] uhci_hcd: USB Universal Host Controller Interface driver
+[    0.705388] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12
+[    0.707337] serio: i8042 KBD port at 0x60,0x64 irq 1
+[    0.708514] serio: i8042 AUX port at 0x60,0x64 irq 12
+[    0.709715] mousedev: PS/2 mouse device common for all mice
+[    0.711343] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
+[    0.712945] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
+[    0.715021] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
+[    0.716297] i2c /dev entries driver
+[    0.717057] pcie_mp2_amd: AMD(R) PCI-E MP2 Communication Driver Version: 1.0
+[    0.718383] device-mapper: uevent: version 1.0.3
+[    0.719317] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
+[    0.721243] ledtrig-cpu: registered to indicate activity on CPUs
+[    0.722714] NET: Registered protocol family 10
+[    0.726894] Segment Routing with IPv6
+[    0.727620] NET: Registered protocol family 17
+[    0.728668] Key type dns_resolver registered
+[    0.730480] RAS: Correctable Errors collector initialized.
+[    0.731595] sched_clock: Marking stable (730454415, 0)->(1217084320, -486629905)
+[    0.734655] registered taskstats version 1
+[    0.735440] Loading compiled-in X.509 certificates
+[    0.738230] Loaded X.509 cert 'Build time autogenerated kernel key: 0d5cb4b7de8533fd8e7240d711ae9d354ea3dca1'
+[    0.740055] zswap: loaded using pool lzo/zbud
+[    0.746035] Key type big_key registered
+[    0.746994] Key type trusted registered
+[    0.749411] Key type encrypted registered
+[    0.750480] AppArmor: AppArmor sha1 policy hashing enabled
+[    0.751489] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
+[    0.752810] ima: Allocated hash algorithm: sha1
+[    0.753937] evm: HMAC attrs: 0x1
+[    0.755108]   Magic number: 3:621:890
+[    0.755959] rtc_cmos rtc_cmos: setting system clock to 2019-05-24 14:53:14 UTC (1558709594)
+[    0.758170] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
+[    0.759275] EDD information not available.
+[    0.860353] Freeing unused kernel image memory: 2412K
+[    0.869051] Write protecting the kernel read-only data: 20480k
+[    0.872926] Freeing unused kernel image memory: 2008K
+[    0.874591] Freeing unused kernel image memory: 1868K
+[    0.882285] x86/mm: Checked W+X mappings: passed, no W+X pages found.
+[    0.884245] x86/mm: Checking user space page tables
+[    0.890739] x86/mm: Checked W+X mappings: passed, no W+X pages found.
+Loading, please wait...
+starting version 237
+[    0.946850] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
+[    0.948903] e1000: Copyright (c) 1999-2006 Intel Corporation.
+[    0.951816] Fusion MPT base driver 3.04.20
+[    0.953011] Copyright (c) 1999-2008 LSI Corporation
+[    0.958861] Fusion MPT SPI Host driver 3.04.20
+[    0.967250] AVX2 version of gcm_enc/dec engaged.
+[    0.968614] AES CTR mode by8 optimization enabled
+[    1.166043] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
+[    1.353418] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 02:74:f0:c0:9d:60
+[    1.354785] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
+[    1.986135] e1000 0000:00:08.0 eth1: (PCI:33MHz:32-bit) 08:00:27:70:02:2a
+[    1.988185] e1000 0000:00:08.0 eth1: Intel(R) PRO/1000 Network Connection
+[    1.991021] e1000 0000:00:03.0 enp0s3: renamed from eth0
+[    1.991049] mptbase: ioc0: Initiating bringup
+[    2.012959] e1000 0000:00:08.0 enp0s8: renamed from eth1
+[    2.878388] ioc0: LSI53C1030 A0: Capabilities={Initiator}
+[    3.245120] scsi host2: ioc0: LSI53C1030 A0, FwRev=00000000h, Ports=1, MaxQ=256, IRQ=20
+[    3.701619] scsi 2:0:0:0: Direct-Access     VBOX     HARDDISK         1.0  PQ: 0 ANSI: 5
+[    3.978114] scsi target2:0:0: Beginning Domain Validation
+[    3.984950] scsi target2:0:0: Domain Validation skipping write tests
+[    3.986584] scsi target2:0:0: Ending Domain Validation
+[    3.987980] scsi target2:0:0: asynchronous
+[    3.990100] scsi 2:0:1:0: Direct-Access     VBOX     HARDDISK         1.0  PQ: 0 ANSI: 5
+[    4.036045] scsi target2:0:1: Beginning Domain Validation
+[    4.043098] scsi target2:0:1: Domain Validation skipping write tests
+[    4.044707] scsi target2:0:1: Ending Domain Validation
+[    4.046211] scsi target2:0:1: asynchronous
+[    4.052322] sd 2:0:0:0: Attached scsi generic sg0 type 0
+[    4.052763] sd 2:0:0:0: [sda] 104857600 512-byte logical blocks: (53.7 GB/50.0 GiB)
+[    4.052888] sd 2:0:0:0: [sda] Write Protect is off
+[    4.053142] sd 2:0:0:0: [sda] Incomplete mode parameter data
+[    4.053143] sd 2:0:0:0: [sda] Assuming drive cache: write through
+[    4.055109]  sda: sda1
+[    4.055991] sd 2:0:0:0: [sda] Attached SCSI disk
+[    4.062000] sd 2:0:1:0: Attached scsi generic sg1 type 0
+[    4.062305] random: fast init done
+[    4.062507] sd 2:0:1:0: [sdb] 20480 512-byte logical blocks: (10.5 MB/10.0 MiB)
+[    4.062680] sd 2:0:1:0: [sdb] Write Protect is off
+[    4.062947] sd 2:0:1:0: [sdb] Incomplete mode parameter data
+[    4.062948] sd 2:0:1:0: [sdb] Assuming drive cache: write through
+[    4.063276] random: systemd-udevd: uninitialized urandom read (16 bytes read)
+[    4.063285] random: systemd-udevd: uninitialized urandom read (16 bytes read)
+[    4.063288] random: systemd-udevd: uninitialized urandom read (16 bytes read)
+[    4.065980] sd 2:0:1:0: [sdb] Attached SCSI disk
+Begin: Loading essential drivers ... [    5.592365] raid6: sse2x1   gen() 13032 MB/s
+[    5.640132] raid6: sse2x1   xor()  9604 MB/s
+[    5.688345] raid6: sse2x2   gen() 15854 MB/s
+[    5.736692] raid6: sse2x2   xor() 10587 MB/s
+[    5.784281] raid6: sse2x4   gen() 18136 MB/s
+[    5.832033] raid6: sse2x4   xor() 11557 MB/s
+[    5.880420] raid6: avx2x1   gen() 26252 MB/s
+[    5.928550] raid6: avx2x1   xor() 18583 MB/s
+[    5.976578] raid6: avx2x2   gen() 32243 MB/s
+[    6.024409] raid6: avx2x2   xor() 20027 MB/s
+[    6.072259] raid6: avx2x4   gen() 36707 MB/s
+[    6.120420] raid6: avx2x4   xor() 21219 MB/s
+[    6.121742] raid6: using algorithm avx2x4 gen() 36707 MB/s
+[    6.123101] raid6: .... xor() 21219 MB/s, rmw enabled
+[    6.124031] raid6: using avx2x2 recovery algorithm
+[    6.126566] xor: automatically using best checksumming function   avx       
+[    6.129498] async_tx: api initialized (async)
+done.
+Begin: Running /scripts/init-premount ... done.
+Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
+Begin: Running /scripts/local-premount ... [    6.165734] Btrfs loaded, crc32c=crc32c-intel
+Scanning for Btrfs filesystems
+done.
+Warning: fsck not present, so skipping root file system
+[    6.187117] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
+[    6.188516] EXT4-fs (sda1): write access will be enabled during recovery
+[    6.202917] EXT4-fs (sda1): recovery complete
+[    6.203935] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
+done.
+Begin: Running /scripts/local-bottom ... done.
+Begin: Running /scripts/init-bottom ... done.
+[    6.352175] ip_tables: (C) 2000-2006 Netfilter Core Team
+[    6.361808] systemd[1]: systemd 237 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)
+[    6.366687] systemd[1]: Detected virtualization oracle.
+[    6.367855] systemd[1]: Detected architecture x86-64.
+
+Welcome to Ubuntu 18.04.2 LTS!
+
+[    6.379387] systemd[1]: Set hostname to <ubuntu-bionic>.
+[    6.740776] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
+[  OK  ] Set up automount Arbitrary Executab…rmats File System Automount Point.
+[    6.743736] systemd[1]: Reached target System Time Synchronized.
+[  OK  ] Reached target System Time Synchronized.
+[    6.763024] systemd[1]: Created slice System Slice.
+[  OK  ] Created slice System Slice.
+[    6.765008] systemd[1]: Listening on Journal Socket (/dev/log).
+[  OK  ] Listening on Journal Socket (/dev/log).
+[    6.767108] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
+[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
+[    6.769133] systemd[1]: Listening on LVM2 metadata daemon socket.
+[  OK  ] Listening on LVM2 metadata daemon socket.
+[  OK  ] Listening on Journal Audit Socket.
+[  OK  ] Listening on Journal Socket.
+         Mounting RPC Pipe File System...
+         Starting Remount Root and Kernel File Systems...
+         Mounting Huge Pages File System...
+         Starting Uncomplicated firewall...
+         Mounting Kernel Debug File System...
+         Starting Create list of required st…ce nodes for the current kernel...
+[  OK  ] Listening on Network Service Netlink Socket.
+[  OK  ] Listening on LVM2 poll daemon socket.
+         Starting Set the console keyboard layout...
+[  OK  ] Reached target Swap.
+[  OK  ] Reached target User and Group Name Lookups.
+[  OK  ] Listening on RPCbind Server Activation Socket.
+[  OK  ] Listening on udev Control Socket.
+         Starting Load Kernel Modules...
+[  OK  ] Created slice User and Session Slice.
+[  OK  ] Reached target Slices.
+[  OK  ] Listening on udev Kernel Socket.
+         Starting udev Coldplug all Devices...
+[  OK  ] Listening on Device-mapper event daemon FIFOs.
+[    6.881790] RPC: Registered named UNIX socket transport module.
+[    6.883773] RPC: Registered udp transport module.
+[    6.883773] RPC: Registered tcp transport module.
+[    6.883774] RPC: Registered tcp NFSv4.1 backchannel transport module.
+         Starting Monitoring of LVM2 mirrors…ng dmeventd or pr[    6.889238] EXT4-fs (sda1): re-mounted. Opts: (null)
+ogress polling...
+[    6.896465] Loading iSCSI transport class v2.0-870.
+[  OK  ] Listening on Syslog Socket.
+         Starting Journal Service...
+[    6.906941] iscsi: registered transport (tcp)
+         Mounting POSIX Message Queue File System...
+[  OK  ] Started Forward Password Requests to Wall Directory Watch.
+[  OK  ] Created slice system-serial\x2dgetty.slice.
+[  OK  ] Mounted RPC Pipe File System.
+[  OK  ] Started Remount Root and Kernel File Systems.
+[  OK  ] Mounted Huge Pages File System.
+[  OK  ] Started Uncomplicated firewall.
+[  OK  ] Mounted Kernel Debug File System.
+[  OK  ] Started Create list of required sta…vice nodes for the current kernel.
+[  OK  ] Mounted POSIX Message Queue File System.
+         Starting Create Static Device Nodes in /dev...
+         Starting Load/Save Random Seed...
+[    6.984547] iscsi: registered transport (iser)
+[  OK  ] Started Journal Service.
+[  OK  ] Started Load Kernel Modules.
+[  OK  ] Started udev Coldplug all Devices.
+[  OK  ] Started Create Static Device Nodes in /dev.
+[  OK  ] Started Set the console keyboard layout.
+[  OK  ] Started Load/Save Random Seed.
+[  OK  ] Started LVM2 metadata daemon.
+         Starting udev Kernel Device Manager...
+         Mounting Kernel Configuration File System...
+         Mounting FUSE Control File System...
+         Starting Apply Kernel Variables...
+         Starting Flush Journal to Persistent Storage...
+[  OK  ] Started Monitoring of LVM2 mirrors,…sing dmeventd or progress polling.
+[  OK  ] Mounted Kernel Configuration File System.
+[  OK  ] Mounted FUSE Control File System.
+[  OK  ] Reached target Local File Systems (Pre).
+[  OK  ] Reached target Local File Systems.
+         Starting AppArmor initialization...
+         Starting ebtables ruleset management...
+         Starting Tell Plymouth To Write Out Runtime Data...
+         Starting Preprocess NFS configuration...
+         Starting Set console font and keymap...
+[  OK  ] Started udev Kernel Device Manager.
+[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
+[  OK  ] Reached target Local Encrypted Volumes.
+[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
+[  OK  ] Started Apply Kernel Variables.
+[  OK  ] Started Preprocess NFS configuration.
+[  OK  ] Started Set console font and keymap.
+[  OK  ] Reached target NFS client services.
+[  OK  ] Found device /dev/ttyS0.
+[  OK  ] Started Flush Journal to Persistent Storage.
+[  OK  ] Started ebtables ruleset management.
+         Starting Create Volatile Files and Directories...
+[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
+[  OK  ] Started Create Volatile Files and Directories.
+         Starting RPC bind portmap service...
+         Starting Update UTMP about System Boot/Shutdown...
+[  OK  ] Started RPC bind portmap service.
+[  OK  ] Reached target RPC Port Mapper.
+[  OK  ] Started Update UTMP about System Boot/Shutdown.
+[  OK  ] Started AppArmor initialization.
+         Starting Initial cloud-init job (pre-networking)...
+[    8.842679] cloud-init[607]: Cloud-init v. 18.5-45-g3554ffe8-0ubuntu1~18.04.1 running 'init-local' at Fri, 24 May 2019 14:53:21 +0000. Up 8.23 seconds.
+[  OK  ] Started Initial cloud-init job (pre-networking).
+[  OK  ] Reached target Network (Pre).
+         Starting Network Service...
+[  OK  ] Started Network Service.
+         Starting Network Name Resolution...
+         Starting Wait for Network to be Configured...
+[  OK  ] Started Network Name Resolution.
+[  OK  ] Reached target Network.
+[  OK  ] Reached target Host and Network Name Lookups.
+[  OK  ] Started Wait for Network to be Configured.
+         Starting Initial cloud-init job (metadata service crawler)...
+[   11.125730] cloud-init[726]: Cloud-init v. 18.5-45-g3554ffe8-0ubuntu1~18.04.1 running 'init' at Fri, 24 May 2019 14:53:24 +0000. Up 11.01 seconds.
+[   11.127485] cloud-init[726]: ci-info: ++++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++
+[   11.129443] cloud-init[726]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
+[   11.131687] cloud-init[726]: ci-info: | Device |  Up  |          Address           |      Mask     | Scope  |     Hw-Address    |
+[   11.134388] cloud-init[726]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
+[   11.148281] cloud-init[726]: ci-info: | enp0s3 | True |         10.0.2.15          | 255.255.255.0 | global | 02:74:f0:c0:9d:60 |
+[   11.150433] cloud-init[726]: ci-info: | enp0s3 | True | fe80::74:f0ff:fec0:9d60/64 |       .       |  link  | 02:74:f0:c0:9d:60 |
+[   11.152981] cloud-init[726]: ci-info: | enp0s8 | True |       192.168.111.16       | 255.255.255.0 | global | 08:00:27:70:02:2a |
+[   11.155185] cloud-init[726]: ci-info: | enp0s8 | True | fe80::a00:27ff:fe70:22a/64 |       .       |  link  | 08:00:27:70:02:2a |
+[   11.168212] cloud-init[726]: ci-info: |   lo   | True |         127.0.0.1          |   255.0.0.0   |  host  |         .         |
+[   11.170040] cloud-init[726]: ci-info: |   lo   | True |          ::1/128           |       .       |  host  |         .         |
+[   11.171889] cloud-init[726]: ci-info: +--------+------+----------------------------+---------------+--------+-------------------+
+[   11.174275] cloud-init[726]: ci-info: +++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++
+[   11.175984] cloud-init[726]: ci-info: +-------+---------------+----------+-----------------+-----------+-------+
+[   11.177982] cloud-init[726]: ci-info: | Route |  Destination  | Gateway  |     Genmask     | Interface | Flags |
+[   11.179732] cloud-init[726]: ci-info: +-------+---------------+----------+-----------------+-----------+-------+
+[   11.181355] cloud-init[726]: ci-info: |   0   |    0.0.0.0    | 10.0.2.2 |     0.0.0.0     |   enp0s3  |   UG  |
+[   11.183025] cloud-init[726]: ci-info: |   1   |    10.0.2.0   | 0.0.0.0  |  255.255.255.0  |   enp0s3  |   U   |
+[   11.184863] cloud-init[726]: ci-info: |   2   |    10.0.2.2   | 0.0.0.0  | 255.255.255.255 |   enp0s3  |   UH  |
+[   11.186226] cloud-init[726]: ci-info: |   3   | 192.168.111.0 | 0.0.0.0  |  255.255.255.0  |   enp0s8  |   U   |
+[   11.187406] cloud-init[726]: ci-info: +-------+---------------+----------+-----------------+-----------+-------+
+[   11.188310] cloud-init[726]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
+[   11.200406] cloud-init[726]: ci-info: +-------+-------------+---------+-----------+-------+
+[   11.201299] cloud-init[726]: ci-info: | Route | Destination | Gateway | Interface | Flags |
+[   11.202461] cloud-init[726]: ci-info: +-------+-------------+---------+-----------+-------+
+[   11.203515] cloud-init[726]: ci-info: |   1   |  fe80::/64  |    ::   |   enp0s8  |   U   |
+[   11.204996] cloud-init[726]: ci-info: |   2   |  fe80::/64  |    ::   |   enp0s3  |   U   |
+[   11.206571] cloud-init[726]: ci-info: |   4   |    local    |    ::   |   enp0s3  |   U   |
+[   11.208058] cloud-init[726]: ci-info: |   5   |    local    |    ::   |   enp0s8  |   U   |
+[   11.210718] cloud-init[726]: ci-info: |   6   |   ff00::/8  |    ::   |   enp0s8  |   U   |
+[   11.212088] cloud-init[726]: ci-info: |   7   |   ff00::/8  |    ::   |   enp0s3  |   U   |
+[   11.213597] cloud-init[726]: ci-info: +-------+-------------+---------+-----------+-------+
+[  OK  ] Started Initial cloud-init job (metadata service crawler).
+[  OK  ] Reached target Network is Online.
+         Starting Availability of block devices...
+[  OK  ] Reached target Remote File Systems (Pre).
+[  OK  ] Reached target Remote File Systems.
+[  OK  ] Reached target Cloud-config availability.
+[  OK  ] Reached target System Initialization.
+[  OK  ] Started Daily apt download activities.
+[  OK  ] Started Discard unused blocks once a week.
+         Starting LXD - unix socket.
+[  OK  ] Started Message of the Day.
+[  OK  ] Started ACPI Events Check.
+[  OK  ] Started Daily Cleanup of Temporary Directories.
+[  OK  ] Listening on UUID daemon activation socket.
+[  OK  ] Listening on D-Bus System Message Bus Socket.
+[  OK  ] Started Daily apt upgrade and clean activities.
+[  OK  ] Reached target Timers.
+[  OK  ] Listening on Open-iSCSI iscsid Socket.
+[  OK  ] Listening on ACPID Listen Socket.
+[  OK  ] Reached target Paths.
+         Starting Socket activation for snappy daemon.
+         Starting Docker Socket for the API.
+[  OK  ] Started Availability of block devices.
+[  OK  ] Listening on LXD - unix socket.
+[  OK  ] Listening on Socket activation for snappy daemon.
+[  OK  ] Listening on Docker Socket for the API.
+[  OK  ] Reached target Sockets.
+[  OK  ] Reached target Basic System.
+[  OK  ] Started D-Bus System Message Bus.
+[  OK  ] Started Regular background program processing daemon.
+[  OK  ] Started FUSE filesystem for LXC.
+         Starting Permit User Sessions...
+         Starting Login Service...
+         Starting LSB: Record successful boot for GRUB...
+         Starting Accounts Service...
+         Starting Virtualbox guest utils...
+         Starting System Logging Service...
+         Starting LSB: automatic crash report generation...
+[  OK  ] Started irqbalance daemon.
+         Starting containerd container runtime...
+         Starting OpenBSD Secure Shell server...
+[  OK  ] Started Deferred execution scheduler.
+         Starting Dispatcher daemon for systemd-networkd...
+         Starting Snappy daemon...
+         Starting LXD - container startup/shutdown...
+[  OK  ] Started System Logging Service.
+[  OK  ] Started Permit User Sessions.
+[  OK  ] Started containerd container runtime.
+[  OK  ] Started OpenBSD Secure Shell server.
+[  OK  ] Started Login Service.
+[  OK  ] Started LXD - container startup/shutdown.
+         Starting Authorization Manager...
+[  OK  ] Started Unattended Upgrades Shutdown.
+         Starting Docker Application Container Engine...
+         Starting Terminate Plymouth Boot Screen...
+         Starting Hold until boot process finishes up...
+[  OK  ] Started Terminate Plymouth Boot Screen.
+[  OK  ] Started Hold until boot process finishes up.
+         Starting Set console scheme...
+[  OK  ] Started Serial Getty on ttyS0.
+[  OK  ] Started Set console scheme.
+[  OK  ] Started LSB: automatic crash report generation.
+[  OK  ] Created slice system-getty.slice.
+[  OK  ] Started Getty on tty1.
+[  OK  ] Reached target Login Prompts.
+[  OK  ] Started Authorization Manager.
+[  OK  ] Started Accounts Service.
+[  OK  ] Started LSB: Record successful boot for GRUB.
+[  OK  ] Started Snappy daemon.
+         Starting Wait until snapd is fully seeded...
+[  OK  ] Started Virtualbox guest utils.
+[  OK  ] Created slice User Slice of vagrant.
+         Starting User Manager for UID 1000...
+[  OK  ] Started Session 1 of user vagrant.
+[  OK  ] Started Wait until snapd is fully seeded.
+         Starting Apply the settings specified in cloud-config...
+[  OK  ] Started Dispatcher daemon for systemd-networkd.
+[  OK  ] Started User Manager for UID 1000.
+[   12.880698] cloud-init[1218]: Cloud-init v. 18.5-45-g3554ffe8-0ubuntu1~18.04.1 running 'modules:config' at Fri, 24 May 2019 14:53:26 +0000. Up 12.73 seconds.
+[  OK  ] Started Apply the settings specified in cloud-config.
+[  OK  ] Started Docker Application Container Engine.
+[  OK  ] Reached target Multi-User System.
+         Starting Execute cloud user/final scripts...
+[  OK  ] Reached target Graphical Interface.
+         Starting Update UTMP about System Runlevel Changes...
+[  OK  ] Started Update UTMP about System Runlevel Changes.
+[   14.167315] cloud-init[1601]: Cloud-init v. 18.5-45-g3554ffe8-0ubuntu1~18.04.1 running 'modules:final' at Fri, 24 May 2019 14:53:27 +0000. Up 14.07 seconds.
+[   14.168985] cloud-init[1601]: Cloud-init v. 18.5-45-g3554ffe8-0ubuntu1~18.04.1 finished at Fri, 24 May 2019 14:53:27 +0000. Datasource DataSourceNoCloud [seed=/dev/sdb][dsmode=net].  Up 14.16 seconds
+[  OK  ] Started Execute cloud user/final scripts.
+[  OK  ] Reached target Cloud-init target.
+

+Ubuntu 18.04.2 LTS ubuntu-bionic ttyS0
+
+ubuntu-bionic login: