Hello,
My name is Athina Plaskasoviti. I am studying Electrical and Computer
Engineering at the National Technical University of Athens, Greece.
I am currently doing my thesis in the field of Telecommunication Systems
and Computer Networks, specifically working on testing and benchmarking
MQTT
XML Mapping:
Signed-off-by: Athina Plaskasoviti
---
.../cli-test-xml/compare/virt-install-singleton-config-2.xml | 4 ++--
tests/clitest.py | 2 +-
virtinst/cli.py | 1 +
virtinst/devices/memballoon.py
XML Mapping:
...
X
...
Signed-off-by: Athina Plaskasoviti
---
.../virt-install-singleton-config-2.xml | 2 ++
tests/clitest.py | 1 +
virtinst/cli.py | 21 +++
virtinst/guest.py
XML Mapping:
...
X
...
Signed-off-by: Athina Plaskasoviti
---
.../virt-install-singleton-config-2.xml | 2 ++
tests/clitest.py | 1 +
virtinst/cli.py | 20 +++
virtinst/guest.py
XML Mapping:
...
...
...
Signed-off-by: Athina Plaskasoviti
---
.../compare/virt-install-singleton-config-2.xml | 12 ++--
tests/clitest.py | 2 +-
virtinst/cli.py | 8
virtinst/guest.py
Fixing commit ebf21998757b863475a57519a830f5c20b0bb978
XML Mapping:
Signed-off-by: Athina Plaskasoviti
---
.../compare/virt-install-singleton-config-2.xml | 8 ++--
virtinst/devices/memballoon.py| 2 +-
2 files changed, 3 insertions(+), 7 deletions
XML Mapping:
...
X
...
Signed-off-by: Athina Plaskasoviti
---
Moved up ParserIOThreads, re-added remove_first and removed stub_none.
.../virt-install-singleton-config-2.xml | 2 ++
tests/clitest.py | 1 +
virtinst/cli.py
XML Mapping
...
X
Signed-off-by: Athina Plaskasoviti
---
tests/cli-test-xml/compare/virt-install-singleton-config-2.xml | 2 ++
tests/clitest.py | 2 +-
virtinst/cli.py| 1 +
virtinst/devices
XML Mapping
Signed-off-by: Athina Plaskasoviti
---
.../compare/virt-install-singleton-config-2.xml | 8 ++--
tests/clitest.py | 2 +-
virtinst/cli.py | 1 +
virtinst/devices/memballoon.py
XML Mapping:
...
...
---
.../cli-test-xml/compare/virt-install-singleton-config-2.xml | 4 ++--
tests/clitest.py | 4 ++--
virtinst/cli.py | 2 ++
virtinst/domain/numatune.py
XML Mapping:
...
...
Signed-off-by: Athina Plaskasoviti
---
.../compare/virt-install-singleton-config-2.xml | 2 ++
tests/clitest.py | 3 ++-
virtinst/cli.py | 13 +
virtinst/domain/numatune.py
For now, virt-install responds to the --install is_cloud=yes,no_install=yes
to initiate cloud image installation.
Signed-off-by: Athina Plaskasoviti
---
virt-install| 4 +++-
virtinst/cli.py | 2 ++
virtinst/install/cloudinit.py | 29
.
This is work in progess, I am looking for feedback and comments on how to
change/proceed with the implementation.
Thanks,
Athina Plaskasoviti
___
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list
I am sending a v2 of the patch for cloud init basic configuration during cloud
image installation, applying previous suggestions.
Fixed:
-the way the installation is triggered (no_install is no longer required):
--install is_cloud=yes ... --import
-added tmpfile for the files that are
Triggered by:
--install is_cloud=yes ... --import
Signed-off-by: Athina Plaskasoviti
---
virt-install| 9 ---
virtinst/cli.py | 2 ++
virtinst/install/cloudinit.py | 41 +
virtinst/install/installer.py
XML Mapping:
on
Signed-off-by: Athina Plaskasoviti
---
.../compare/virt-install-singleton-config-2.xml | 8 ++--
tests/clitest.py | 2 +-
virtinst/cli.py | 2 +-
virtinst/devices/memballoon.py
XML mapping:
...
Signed-off-by: Athina Plaskasoviti
---
tests/cli-test-xml/compare/virt-install-many-devices.xml | 2 +-
tests/clitest.py | 2 +-
tests/xmlparse-xml/change-disk-out.xml | 2 +-
tests/xmlparse.py
XML mapping:
...
Signed-off-by: Athina Plaskasoviti
---
tests/cli-test-xml/compare/virt-install-many-devices.xml | 2 +-
tests/clitest.py | 2 +-
tests/testdriver.xml | 2 +-
tests/xmlparse-xml/change-disk-out.xml
Signed-off-by: Athina Plaskasoviti
---
virtinst/install/cloudinit.py | 17 -
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/virtinst/install/cloudinit.py b/virtinst/install/cloudinit.py
index 3cb13484..8041cc86 100644
--- a/virtinst/install/cloudinit.py
+++ b
Cli option to permanently disable cloud-init after first boot by user request.
Handled so that bare --cloud-init defaults to --cloud-init
root-password=generate,disable=yes.
Signed-off-by: Athina Plaskasoviti
---
virtinst/cli.py | 4 +++-
virtinst/install/cloudinit.py | 7
Tests now cover default --cloud-init behavior, and
root-password=(generate and given password),disable=no.
Signed-off-by: Athina Plaskasoviti
---
.../virt-install-cloud-init-default.xml | 51 +++
.../virt-install-cloud-init-options.xml | 51 +++
tests
Function generate_password() provides random 16 digit password and
get_root_password() handling root_password assignment.
Signed-off-by: Athina Plaskasoviti
---
virtinst/install/cloudinit.py | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/virtinst
XML Mapping:
...
...
Signed-off-by: Athina Plaskasoviti
---
.../compare/virt-install-singleton-config-2.xml | 6 ++
tests/clitest.py| 2 +-
virtinst/cli.py | 6 ++
virtinst/domain
Generated iso now called ...-cloudinit.iso.
Signed-off-by: Athina Plaskasoviti
---
virtinst/install/installerinject.py | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/virtinst/install/installerinject.py
b/virtinst/install/installerinject.py
index 812f9829..ca4237e1
Signed-off-by: Athina Plaskasoviti
---
tests/clitest.py | 3 ++-
virtinst/cli.py | 1 +
virtinst/install/cloudinit.py | 7 +++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/tests/clitest.py b/tests/clitest.py
index 38a6805e..36844573 100644
Now --cloud-init defaults to root-password-generate=yes,disable=yes.
Option for plaintext password given through the cli is completely removed.
Signed-off-by: Athina Plaskasoviti
---
tests/clitest.py | 5 ++---
virtinst/cli.py | 6 +++---
virtinst/install/cloudinit.py
Signed-off-by: Athina Plaskasoviti
---
tests/cli-test-xml/root-password.txt | 1 +
tests/clitest.py | 4 +++-
virtinst/cli.py | 1 +
virtinst/install/cloudinit.py| 7 +++
4 files changed, 12 insertions(+), 1 deletion(-)
create mode 100644
From: Athina Plaskasoviti
XML Mapping:
...
X
X
X
...
Signed-off-by: Athina Plaskasoviti
---
.../compare/virt-install-singleton-config-2.xml | 6 ++
tests/clitest.py| 2 +-
virtinst/cli.py
From: Athina Plaskasoviti
Fixed:
- Added a do_log flag to print_stdout(), to avoid logging of printed random
password.
- Excluded timeout in virt-install from testing
Signed-off-by: Athina Plaskasoviti
---
virt-install | 10 ++
virtinst/cli.py | 7
From: Athina Plaskasoviti
--memorytune[0-9]*.vcpus
--memorytune[0-9]*.node[0-9]*.id
--memorytune[0-9]*.node[0-9]*.bandwidth
XML Mapping:
...
...
Signed-off-by: Athina Plaskasoviti
---
.../virt-install-singleton-config-2.xml | 6 +
tests/clitest.py
From: Athina Plaskasoviti
Added:
-timer[0-9]*.catchup.threshold
-timer[0-9]*.catchup.slew
-timer[0-9]*.catchup.limit
Catchup attributes need timer with assigned tickpolicy=catchup.
XML Mapping:
...
...
Signed-off-by: Athina Plaskasoviti
---
.../compare/virt-install-singleton
From: Athina Plaskasoviti
Signed-off-by: Athina Plaskasoviti
---
virtinst/install/cloudinit.py | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/virtinst/install/cloudinit.py b/virtinst/install/cloudinit.py
index 44b8ed60..b1a3b146 100644
--- a/virtinst/install
Until now login password expired for all instances. I thought that maybe when
user provides password with a password file, the purpose is to choose the
password instead of generating a random one and then changing it upon first
login, so I made a change to avoid expiration in that case.
If
From: AthinaPl
Login to VM with:
ssh root@vm_ip_address
Signed-off-by: AthinaPl
---
tests/cli-test-xml/ssh-key.txt | 1 +
tests/clitest.py | 2 ++
virtinst/cli.py| 1 +
virtinst/install/cloudinit.py | 16 ++--
4 files changed, 18 insertions(+), 2
XML Mapping:
...
...
Signed-off-by: Athina Plaskasoviti
---
.../virt-install-singleton-config-2.xml | 6 +
tests/clitest.py | 1 +
virtinst/cli.py | 27 +++
virtinst/domain/__init__.py
From: AthinaPl
Login to VM with:
ssh root@vm_ip_address
Signed-off-by: AthinaPl
---
tests/cli-test-xml/ssh-key.txt | 1 +
tests/clitest.py | 2 ++
virtinst/cli.py| 1 +
virtinst/install/cloudinit.py | 11 ++-
4 files changed, 14 insertions(+), 1
From: AthinaPl
XML Mapping:
...
X
X
X
X
...
Signed-off-by: AthinaPl
---
.../compare/virt-install-singleton-config-2.xml | 8
.../compare/virt-xml-build-blkiotune.xml | 4
tests/clitest.py |
This is a first implementation of printing the generated password for first
boot on a cloud image, moved up to virt-install, just to get it working. I'd
like to hear comments/suggestions, if it should be done in a different way.
___
virt-tools-list
Added a 10 second delay when printing random password for first login,
which can be bypassed when pressing Enter.
Signed-off-by: Athina Plaskasoviti
---
virt-install | 10 ++
virtinst/install/installer.py | 5 +
2 files changed, 15 insertions(+)
diff --git a/virt
Usage:
--cloud-init
Signed-off-by: Athina Plaskasoviti
---
virt-install| 5 +++
virtinst/cli.py | 25 +
virtinst/install/cloudinit.py | 57 +
virtinst/install/installer.py | 17 +
virtinst
40 matches
Mail list logo