Dnf #1
2 changed files with 2 additions and 1 deletions
|
|
@ -109,6 +109,7 @@ def create_image(args):
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
print(result)
|
print(result)
|
||||||
|
|
||||||
|
print("Image resized")
|
||||||
|
|
||||||
def virt_install_cmd(args):
|
def virt_install_cmd(args):
|
||||||
"""Build and execute the virt-install command"""
|
"""Build and execute the virt-install command"""
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ bootcmd:
|
||||||
- "nmcli con modify 'Wired connection 1' ipv4.address {data.cidr_2} ipv4.method static ipv4.gateway {data.gateway} ipv4.dns {data.dns}"
|
- "nmcli con modify 'Wired connection 1' ipv4.address {data.cidr_2} ipv4.method static ipv4.gateway {data.gateway} ipv4.dns {data.dns}"
|
||||||
- "nmcli networking off"
|
- "nmcli networking off"
|
||||||
- "nmcli networking on"
|
- "nmcli networking on"
|
||||||
- "service sshd restart"
|
# - "service sshd restart"
|
||||||
# runcmd:
|
# runcmd:
|
||||||
# - "subscription-manager register --username {data.rhn_user} --password '{data.rhn_password}'"
|
# - "subscription-manager register --username {data.rhn_user} --password '{data.rhn_password}'"
|
||||||
# - "subscription-manager release --set=8.4"
|
# - "subscription-manager release --set=8.4"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue