OpenSuSE LEAP 16.0 now building
This commit is contained in:
@@ -1,16 +1,21 @@
|
|||||||
distro = "opensuse"
|
distro = "opensuse"
|
||||||
version = "16.0"
|
version = "16.0"
|
||||||
iso = {
|
iso = {
|
||||||
url = "https://download.opensuse.org/distribution/leap/16.0/installer/iso/agama-installer-Leap.x86_64-16.0.0-Leap-Build120.5.iso"
|
#url = "https://download.opensuse.org/distribution/leap/16.0/installer/iso/agama-installer.x86_64-Leap_16.0.iso"
|
||||||
checksum = "9da557e454a5cfb9aad8e1385de0003efd9bd4531e08459385f1169b3c0bfd25"
|
#checksum = "d3e7a86c4ab7296480ad41a2ca30bde5cad0ff2210b145dd2011403f648f76cb"
|
||||||
|
url = "https://download.opensuse.org/distribution/leap/16.0/installer/iso/agama-installer.x86_64-17.0.0-Leap_16.0-Build151.4.iso"
|
||||||
|
checksum = "d3e7a86c4ab7296480ad41a2ca30bde5cad0ff2210b145dd2011403f648f76cb"
|
||||||
}
|
}
|
||||||
boot_command = [
|
boot_command = [
|
||||||
"e<wait>",
|
"e<wait>",
|
||||||
"<down><down><down><down><end><wait>",
|
"<down><down><down><down><end><wait>",
|
||||||
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
|
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
|
||||||
" agama.auto=http://{{ .HTTPIP }}:{{ .HTTPPort }}/profile.jsonnet<wait>",
|
" inst.auto=http://{{ .HTTPIP }}:{{ .HTTPPort }}/profile.jsonnet",
|
||||||
|
" video=VGA-1:800x600",
|
||||||
|
#" systemd.unit=multi-user.target<wait>",
|
||||||
"<leftCtrlOn>x<leftCtrlOff>"
|
"<leftCtrlOn>x<leftCtrlOff>"
|
||||||
]
|
]
|
||||||
boot_wait = "8s"
|
boot_wait = "8s"
|
||||||
|
cd_files = [ "distros/opensuse/16.0/http/" ]
|
||||||
http_directory = "distros/opensuse/16.0/http/"
|
http_directory = "distros/opensuse/16.0/http/"
|
||||||
vbox_os_type = "OpenSUSE_Leap_64"
|
vbox_os_type = "OpenSUSE_Leap_64"
|
||||||
|
|||||||
@@ -1,125 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<!DOCTYPE profile>
|
|
||||||
<!-- https://doc.opensuse.org/projects/autoyast/#CreateProfile-General -->
|
|
||||||
<profile xmlns="http://www.suse.com/1.0/yast2ns"
|
|
||||||
xmlns:config="http://www.suse.com/1.0/configns">
|
|
||||||
<general>
|
|
||||||
<mode>
|
|
||||||
<confirm config:type="boolean">false</confirm>
|
|
||||||
<final_reboot config:type="boolean">true</final_reboot>
|
|
||||||
</mode>
|
|
||||||
</general>
|
|
||||||
<groups config:type="list">
|
|
||||||
<group>
|
|
||||||
<groupname>wheel</groupname>
|
|
||||||
<userlist>vagrant</userlist>
|
|
||||||
</group>
|
|
||||||
<group>
|
|
||||||
<groupname>vagrant</groupname>
|
|
||||||
<userlist>vagrant</userlist>
|
|
||||||
</group>
|
|
||||||
</groups>
|
|
||||||
<firewall>
|
|
||||||
<enable_firewall config:type="boolean">true</enable_firewall>
|
|
||||||
<default_zone>external</default_zone>
|
|
||||||
<zones config:type="list">
|
|
||||||
<zone>
|
|
||||||
<name>public</name>
|
|
||||||
<interfaces config:type="list">
|
|
||||||
<interface>eth0</interface>
|
|
||||||
</interfaces>
|
|
||||||
<services config:type="list">
|
|
||||||
<service>ssh</service>
|
|
||||||
</services>
|
|
||||||
</zone>
|
|
||||||
</zones>
|
|
||||||
</firewall>
|
|
||||||
<partitioning config:type="list">
|
|
||||||
<drive>
|
|
||||||
<use>all</use>
|
|
||||||
<partitions config:type="list">
|
|
||||||
<partition>
|
|
||||||
<mount>/boot</mount>
|
|
||||||
<size>512MiB</size>
|
|
||||||
</partition>
|
|
||||||
<partition>
|
|
||||||
<mount>/</mount>
|
|
||||||
<size>max</size>
|
|
||||||
</partition>
|
|
||||||
</partitions>
|
|
||||||
</drive>
|
|
||||||
</partitioning>
|
|
||||||
<language>
|
|
||||||
<language>en_US</language>
|
|
||||||
</language>
|
|
||||||
<networking>
|
|
||||||
<backend>network_manager</backend>
|
|
||||||
</networking>
|
|
||||||
<services-manager>
|
|
||||||
<services>
|
|
||||||
<enable config:type="list">
|
|
||||||
<service>sshd</service>
|
|
||||||
</enable>
|
|
||||||
</services>
|
|
||||||
</services-manager>
|
|
||||||
<software>
|
|
||||||
<packages config:type="list">
|
|
||||||
<package>openssh</package>
|
|
||||||
<package>sudo</package>
|
|
||||||
</packages>
|
|
||||||
<do_online_update config:type="boolean">true</do_online_update>
|
|
||||||
<install_recommended config:type="boolean">false</install_recommended>
|
|
||||||
</software>
|
|
||||||
<timezone>
|
|
||||||
<hwclock>UTC</hwclock>
|
|
||||||
<timezone>UTC</timezone>
|
|
||||||
</timezone>
|
|
||||||
<users config:type="list">
|
|
||||||
<user>
|
|
||||||
<username>root</username>
|
|
||||||
<user_password>vagrant</user_password>
|
|
||||||
<encrypted config:type="boolean">false</encrypted>
|
|
||||||
</user>
|
|
||||||
<user>
|
|
||||||
<username>vagrant</username>
|
|
||||||
<user_password>vagrant</user_password>
|
|
||||||
<encrypted config:type="boolean">false</encrypted>
|
|
||||||
</user>
|
|
||||||
</users>
|
|
||||||
<scripts>
|
|
||||||
<pre-scripts config:type="list">
|
|
||||||
<script>
|
|
||||||
<interpreter>shell</interpreter>
|
|
||||||
<filename>start.sh</filename>
|
|
||||||
<!-- <location>some_url</location> -->
|
|
||||||
<source>
|
|
||||||
<![CDATA[
|
|
||||||
#!/bin/sh
|
|
||||||
echo "Starting installation"
|
|
||||||
exit 0
|
|
||||||
]]>
|
|
||||||
</source>
|
|
||||||
</script>
|
|
||||||
</pre-scripts>
|
|
||||||
</scripts>
|
|
||||||
<files config:type="list">
|
|
||||||
<file>
|
|
||||||
<file_path>/etc/sudoers.d/vagrant</file_path>
|
|
||||||
<file_contents>
|
|
||||||
<![CDATA[
|
|
||||||
Defaults:vagrant !requiretty
|
|
||||||
vagrant ALL=(ALL) NOPASSWD: ALL
|
|
||||||
root ALL=(ALL) NOPASSWD: ALL
|
|
||||||
]]>
|
|
||||||
</file_contents>
|
|
||||||
<file_permissions>440</file_permissions>
|
|
||||||
<file_owner>root</file_owner>
|
|
||||||
</file>
|
|
||||||
<file>
|
|
||||||
<file_path>/home/vagrant/.ssh/authorized_keys</file_path>
|
|
||||||
<file_permissions>600</file_permissions>
|
|
||||||
<file_owner>vagrant</file_owner>
|
|
||||||
<file_location>https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub</file_location>
|
|
||||||
</file>
|
|
||||||
</files>
|
|
||||||
</profile>
|
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
// For more docs, check out
|
||||||
|
// https://agama-project.github.io/docs/user/profile/dynamic
|
||||||
// This is a Jsonnet file. Please, check https://jsonnet.org/ for more
|
// This is a Jsonnet file. Please, check https://jsonnet.org/ for more
|
||||||
// information about the language.
|
// information about the language.
|
||||||
// For the schema, see
|
// For the schema, see
|
||||||
@@ -62,8 +64,8 @@ local memory = agama.findByID(agama.lshw, 'memory').size;
|
|||||||
post: [ {
|
post: [ {
|
||||||
name: 'configure-vagrant',
|
name: 'configure-vagrant',
|
||||||
chroot: true,
|
chroot: true,
|
||||||
body: |||
|
content: |||
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
# Configure the insecure Vagrant SSH key
|
# Configure the insecure Vagrant SSH key
|
||||||
mkdir -p /home/vagrant/.ssh
|
mkdir -p /home/vagrant/.ssh
|
||||||
curl -o /home/vagrant/.ssh/authorized_keys https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub
|
curl -o /home/vagrant/.ssh/authorized_keys https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub
|
||||||
@@ -77,7 +79,7 @@ local memory = agama.findByID(agama.lshw, 'memory').size;
|
|||||||
vagrant ALL=(ALL) NOPASSWD: ALL
|
vagrant ALL=(ALL) NOPASSWD: ALL
|
||||||
root ALL=(ALL) NOPASSWD: ALL
|
root ALL=(ALL) NOPASSWD: ALL
|
||||||
EOF
|
EOF
|
||||||
|||
|
|||,
|
||||||
} ]
|
} ]
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user