Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IPv4 Ranges Support #164

Merged
merged 3 commits into from
Nov 29, 2023
Merged

Add IPv4 Ranges Support #164

merged 3 commits into from
Nov 29, 2023

Conversation

zliang-akamai
Copy link
Member

📝 Description

This is to add IP ranges support required by the VPC project

✔️ How to Test

make test

OR

  • Clone and build Packe in this branch.
  • Save this into a file call test.pkr.hcl
source "linode" "example" {
  image             = "linode/debian12"
  image_description = "My Private Image"
  image_label       = "private-image-test-vpc"
  instance_label    = "temporary-linode-test-vpc"
  instance_type     = "g6-nanode-1"
  region            = "us-mia"
  ssh_username      = "root"
  interface {
    purpose         = "public"
  }

  interface {
    purpose   = "vpc"
    subnet_id = 1234 # change to your subnet ID
    ip_ranges = ["10.0.0.9/32"]
  }
}

build {
  sources = ["source.linode.example"]
}
  • Run packer build .

@zliang-akamai zliang-akamai requested a review from a team as a code owner November 28, 2023 18:52
@zliang-akamai zliang-akamai requested review from jriddle-linode and yec-akamai and removed request for a team November 28, 2023 18:52
@zliang-akamai zliang-akamai changed the title Zhiwei/ip-ranges Add IPv4 Ranges Support Nov 28, 2023
Copy link
Contributor

@yec-akamai yec-akamai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Tests passed locally.

Copy link
Collaborator

@jriddle-linode jriddle-linode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zliang-akamai zliang-akamai merged commit e039eb6 into dev Nov 29, 2023
13 checks passed
@zliang-akamai zliang-akamai deleted the zhiwei/ip-ranges branch November 29, 2023 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants